Skip to content

Commit

Permalink
minor tweak in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
outdoorbits committed Oct 21, 2024
1 parent 3166ce5 commit 7106158
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions scripts/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -913,8 +913,6 @@ def RenameFiles(self):
del progress
self.__display.message([f":{self.__lan.l('box_finished')}"])



def syncDatabase(self):
if not self.TargetDevice:
return()
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}

// restart display using new config
exec("sudo python3 $WORKING_DIR/lib_display.py 'set:kill'; sleep 2.5; sudo python3 $WORKING_DIR/lib_display.py '" . L::config_display_message_settings_saved_1 . "' '" . L::config_display_message_settings_saved_2 . "' > /dev/null 2>&1 &");
exec("sudo bash -c \"python3 $WORKING_DIR/lib_display.py 'set:kill'; sleep ".($config['conf_DISP_FRAME_TIME']>$config['conf_DISP_FRAME_TIME_IP']?$config['conf_DISP_FRAME_TIME']:$config['conf_DISP_FRAME_TIME_IP'])+0.2."; python3 $WORKING_DIR/lib_display.py '" . L::config_display_message_settings_saved_1 . "' '" . L::config_display_message_settings_saved_2 . "' > /dev/null 2>&1 &\"");
}

if (isset($_GET['check_update'])) {
Expand Down

0 comments on commit 7106158

Please sign in to comment.