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 37d5709 commit f964936Copy full SHA for f964936
api.py
@@ -153,7 +153,7 @@ def updateFromPackage():
153
os.system('sudo bash /home/pi/clean-update.sh')
154
file_to_upload = connexion.request.files['file_to_upload']
155
file_to_upload.save(os.path.join('/home/pi/', 'update.tar'))
156
- os.system('sudo coderbot_update /home/pi/update.tar && sudo reboot')
+ os.system('sudo reboot')
157
return 200
158
159
@@ -218,4 +218,4 @@ def resetDefaultPrograms():
218
if filename.endswith(".json"):
219
with open("data/defaults/programs/" + filename) as p:
220
q = p.read()
221
- programs.insert(json.loads(q))
+ programs.insert(json.loads(q))
0 commit comments