Skip to content

Commit

Permalink
🐛 fix is_wizard_required logic
Browse files Browse the repository at this point in the history
  • Loading branch information
cp2004 committed Jul 15, 2020
1 parent 0c4160d commit 492515a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion octoprint_ws281x_led_status/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@ def get_template_vars(self):

# Wizard plugin bits
def is_wizard_required(self):
return not any(self.get_wizard_details())
for item in self.get_wizard_details().values():
if not item:
return True
return False

def get_wizard_details(self):
return dict(
Expand Down

0 comments on commit 492515a

Please sign in to comment.