Skip to content

Commit

Permalink
core - fixed device log name format (whitespaces)
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Apr 12, 2021
1 parent c480088 commit 5da9b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/core/utils/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, typ: str = 'core', addition: str = None, web_ctrl_obj=None, s
self.log_file = f"{self.log_dir}/{date_month}_{self.type}.log"

else:
self.log_file = f"{self.log_dir}/{date_month}_{self.type}_{addition}.log"
self.log_file = f"{self.log_dir}/{date_month}_{self.type}_{addition.replace(' ', '_')}.log"

self.status = self._check()

Expand Down

0 comments on commit 5da9b5b

Please sign in to comment.