🐛 Don't show restore wizard on Windows
Restore doesn't work on Windows, so the wizard also shouldn't be shown.
This commit is contained in:
1 parent
1da4c2b7ab
commit
c40ae9f181
1 file changed
+1
-1
@@ -331,7 +331,7 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
|
||||
##~~ WizardPlugin
|
||||
|
||||
def is_wizard_required(self):
|
||||
return self._settings.global_get(["server", "firstRun"])
|
||||
return self._settings.global_get(["server", "firstRun"]) and is_os_compatible(["!windows"])
|
||||
|
||||
def get_wizard_details(self):
|
||||
return dict(required=self.is_wizard_required())
|
||||
|
||||
Reference in new issue
Block a user