Skip to content

Commit c10b83d

Browse files
committed
Modified log folder
1 parent 14de7b2 commit c10b83d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def status():
121121
sts = get_status()
122122
# getting reset log file
123123
try:
124-
with open('/home/pi/coderbot/log/reset_trigger_service.log', 'r') as log_file:
124+
with open('/home/pi/coderbot/logs/reset_trigger_service.log', 'r') as log_file:
125125
data = [x for x in log_file.read().split('\n') if x]
126126
except Exception:
127127
data = [] # if file doesn't exist, no restore as ever been performed. return empty data

0 commit comments

Comments
 (0)