We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14de7b2 commit c10b83dCopy full SHA for c10b83d
api.py
@@ -121,7 +121,7 @@ def status():
121
sts = get_status()
122
# getting reset log file
123
try:
124
- with open('/home/pi/coderbot/log/reset_trigger_service.log', 'r') as log_file:
+ with open('/home/pi/coderbot/logs/reset_trigger_service.log', 'r') as log_file:
125
data = [x for x in log_file.read().split('\n') if x]
126
except Exception:
127
data = [] # if file doesn't exist, no restore as ever been performed. return empty data
0 commit comments