🐛 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:
Gina Häußge committed 2020-07-15 12:11:18 +02:00
1 parent 1da4c2b7ab
commit c40ae9f181
1 file changed
+1 -1
+1 -1
View File
@@ -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())