refactor: move stuff to working/

This commit is contained in:
Dobin
2024-03-01 19:04:05 +00:00
parent 6175875ea1
commit 115c654429
10 changed files with 16 additions and 11 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
import logging
from model.defs import *
log_messages = []
@@ -46,7 +48,7 @@ class ListHandler(logging.Handler):
def writelog():
# write log to file
with open("logs/supermega.log", "w") as f:
with open(f"{logs_dir}/supermega.log", "w") as f:
for line in log_messages:
f.write(line + "\n")