mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
python: fix log file name
This commit is contained in:
parent
e33e1904b8
commit
96b3147766
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class Node(object):
|
|||
|
||||
if self.log_filename is None:
|
||||
now = datetime.datetime.now()
|
||||
self.log_filename = now.strftime('villas-node_%Y-%m%-%d_%H-%M-%S.log')
|
||||
self.log_filename = now.strftime('villas-node_%Y-%m-%d_%H-%M-%S.log')
|
||||
|
||||
self.log = open(self.log_filename, 'w+')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue