Commit 9a8c2ead authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald

Logging: remove .exe from log filename

parent d32166a1
......@@ -335,7 +335,7 @@ class __Internal:
def __init__(self):
"""init the loggers"""
logName = os.path.basename(sys.argv[0]).replace('.py', '') + '.log'
logName = os.path.basename(sys.argv[0]).replace('.py', '').replace('.exe', '') + '.log'
self.logger = logging.getLogger(logName)
if os.name == 'nt':
haveDevLog = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment