Skip to content

Commit

Permalink
Rename logging test file
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 Jan 26, 2025
1 parent 8076f76 commit 940daca
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 940daca

Please sign in to comment.