Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async def wait_for_log_change():
except:
print("Error opening logs: attempt \#" + str(c))

if c >= 9:
if c >= (file_open_attempts - 1):
continue # error with this file, go back and wait for next change.

new_logs.replace(old_logs, "") # only new logs remain.
Expand Down