Skip to content

Commit cce1d2e

Browse files
committed
Removed last_execution file code
1 parent 4360780 commit cce1d2e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/server/config.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
os.makedirs(REPORT_PATH, exist_ok=True)
7878
os.makedirs(ZIPPED_FILES, exist_ok=True)
7979

80-
if not (os.path.exists(LOGS_PATH + "last_execution.json")):
81-
f = open(
82-
LOGS_PATH + "last_execution.json", "w"
83-
) # Prevent 500 error from /api/statistics
84-
f.write("{}")
85-
f.close()
80+
# if not (os.path.exists(LOGS_PATH + "last_execution.json")):
81+
# f = open(
82+
# LOGS_PATH + "last_execution.json", "w"
83+
# ) # Prevent 500 error from /api/statistics
84+
# f.write("{}")
85+
# f.close()

0 commit comments

Comments
 (0)