Skip to content

Commit f964936

Browse files
authored
fix #110
1 parent 37d5709 commit f964936

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def updateFromPackage():
153153
os.system('sudo bash /home/pi/clean-update.sh')
154154
file_to_upload = connexion.request.files['file_to_upload']
155155
file_to_upload.save(os.path.join('/home/pi/', 'update.tar'))
156-
os.system('sudo coderbot_update /home/pi/update.tar && sudo reboot')
156+
os.system('sudo reboot')
157157
return 200
158158

159159

@@ -218,4 +218,4 @@ def resetDefaultPrograms():
218218
if filename.endswith(".json"):
219219
with open("data/defaults/programs/" + filename) as p:
220220
q = p.read()
221-
programs.insert(json.loads(q))
221+
programs.insert(json.loads(q))

0 commit comments

Comments
 (0)