We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4928304 commit a970e3bCopy full SHA for a970e3b
launch/launch/launch_service.py
@@ -71,15 +71,15 @@ def __init__(
71
# Set the log file name.
72
if log_file_name is not None:
73
# Ensure the log file name ends with `.log`
74
- if not log_file_name.endswith(".log"):
75
- log_file_name += ".log"
+ if not log_file_name.endswith('.log'):
+ log_file_name += '.log'
76
launch.logging.launch_config.file_name = log_file_name
77
self.__debug = debug
78
self.__argv = argv if argv is not None else []
79
80
# Setup logging
81
82
- logger_name = log_file_name.removesuffix(".log")
+ logger_name = log_file_name.removesuffix('.log')
83
self.__logger = launch.logging.get_logger(logger_name)
84
else:
85
self.__logger = launch.logging.get_logger('launch')
0 commit comments