screen: fix restart #667
This commit is contained in:
parent
92335b78a0
commit
9833b887ad
@ -440,7 +440,7 @@ class KlipperScreen(Gtk.Window):
|
||||
if response_id == Gtk.ResponseType.OK:
|
||||
logging.debug("Restarting")
|
||||
# This can be removed after a grace period
|
||||
service = self._config.get_main_config_option('service')
|
||||
service = self._config.get_main_config().get('service')
|
||||
if service is not None and service != "KlipperScreen":
|
||||
self.show_popup_message("Error: option \"service\" is not supported anymore")
|
||||
# ^^^
|
||||
|
Loading…
x
Reference in New Issue
Block a user