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
+1 -1
View File
@@ -49,7 +49,7 @@ def run_process_checkret(args, check=True):
logger.warn(f"An error occurred: {e}")
# Handle other exceptions
with open("logs/cmdoutput.log", "ab") as f:
with open(f"{logs_dir}/cmdoutput.log", "ab") as f:
cmd = "------------------------------------\n"
cmd += "--- " + " ".join(args) + "\n"
f.write(cmd.encode('utf-8'))