File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 22import time
33
44from helpers import logger
5+ from packages .globals import DEV_MODE
56from utils import print_console_text_colored
67from check_hardware import CheckHardware
78from legacy_parameters import evaluate_bool_button , init_buttons , set_button
5657 ("Test erfolgreich abgeschlossen! Bitte mit dem Bild-Button die Front fotografieren." , "green" ))
5758 finally :
5859 set_button ("start" , False )
59- workstation .shutdown_openwb ()
60+ if not DEV_MODE :
61+ workstation .shutdown_openwb ()
6062except Exception :
6163 log .exception ("Fehler im main-Modul. Programm gestoppt." )
Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ def check_latest_version(self, model: Model) -> None:
5757 if ((RELEASE_HASH != system_version and model in MODE_GROUPS ["series2" ]) or
5858 (PRO_PLUS_HASH != system_version and model == PRO_PLUS )):
5959 raise Exception (
60- f"openWB-Software ist nicht aktuell. Erforderliche Version: { RELEASE_HASH } , "
60+ "openWB-Software ist nicht aktuell. Erforderliche Version: "
61+ f"{ RELEASE_HASH if model in MODE_GROUPS ['series2' ] else PRO_PLUS_HASH } , "
6162 f"System-Version: { system_version } Bitte SD-Karte mit aktuellem Image einlegen." )
6263
6364 def check_no_preconfig (self ) -> None :
You can’t perform that action at this time.
0 commit comments