diff --git a/source/log_error.py b/source/log_error.py index 417fe7e..4731960 100644 --- a/source/log_error.py +++ b/source/log_error.py @@ -1,4 +1,4 @@ import traceback def log_error(self, exception): - with open("error.log", "a") as f: f.write(f"---\n{traceback.format_exc()}\n") + with open("./error.log", "a") as f: f.write(f"---\n{traceback.format_exc()}\n")