Skip to content

Commit

Permalink
Rename logging test file (#218)
Browse files Browse the repository at this point in the history
Make it more obvious that it is from Protonfixes. Same file name could also be used by other applications.
  • Loading branch information
Tiagoquix authored Feb 6, 2025
1 parent 6e89450 commit dc56e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def log(self, msg: str = '', level: str = 'INFO') -> None:
fulltext = color + pfx + str(msg) + reset + os.linesep
sys.stderr.write(fulltext)
sys.stderr.flush()
with open('/tmp/test', 'a', 1, encoding='utf-8') as testfile:
with open('/tmp/protonfixes_test.log', 'a', 1, encoding='utf-8') as testfile:
testfile.write(logtext)

def info(self, msg: str) -> None:
Expand Down

0 comments on commit dc56e07

Please sign in to comment.