From 940daca6969ae1158bdcc31169019ea0ff038d79 Mon Sep 17 00:00:00 2001 From: Tiagoquix <30274161+Tiagoquix@users.noreply.github.com> Date: Sun, 26 Jan 2025 05:42:27 -0300 Subject: [PATCH] Rename logging test file Make it more obvious that it is from Protonfixes. Same file name could also be used by other applications. --- logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger.py b/logger.py index 5905d6c6..0083d30e 100644 --- a/logger.py +++ b/logger.py @@ -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: