Skip to content

Commit

Permalink
Merge pull request #7 from oocam/minor_fix
Browse files Browse the repository at this point in the history
add sleep to restart code
  • Loading branch information
manyaagarwal authored Jan 18, 2021
2 parents cff44ea + 51532e3 commit df35686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openoceancamera/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ def update_config():
pass

def restart_code():
sleep(5)
os.system("sudo reboot")

def reboot_camera():
Expand Down

0 comments on commit df35686

Please sign in to comment.