From 7afbd90403e94179f910984587287ecc7210832f Mon Sep 17 00:00:00 2001 From: Chrys Date: Sat, 7 Sep 2019 22:10:42 +0200 Subject: [PATCH] remove : from filename --- src/fenrirscreenreader/core/debugManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/core/debugManager.py b/src/fenrirscreenreader/core/debugManager.py index 874c1421..cdd12e38 100644 --- a/src/fenrirscreenreader/core/debugManager.py +++ b/src/fenrirscreenreader/core/debugManager.py @@ -9,7 +9,7 @@ class debugManager(): def __init__(self, fileName = ''): self._file = None self._fileOpened = False - self._fileName = '/tmp/fenrir_' + str(os.getpid()) + '_' + str(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')) + '.log' + self._fileName = '/tmp/fenrir_' + str(os.getpid()) + '_' + str(datetime.utcnow().strftime('%Y-%m-%d_%H-%M-%S')) + '.log' if fileName != '': self._fileName = fileName def initialize(self, environment):