Skip to content

Commit

Permalink
fixed crash for new installations
Browse files Browse the repository at this point in the history
  • Loading branch information
kolinger committed Feb 9, 2022
1 parent 4d776b0 commit 26fdcdc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webapp/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def fill(self):
variables["connect_button"] = "Connect" if status == "disconnected" else "Disconnect"

setup = self.config.read("setup")
if setup and "theme" in setup:
variables["theme"] = setup["theme"]
variables["theme"] = setup["theme"] if setup and "theme" in setup else "light"

variables["embedded"] = current_app.config["embedded"]

Expand Down

0 comments on commit 26fdcdc

Please sign in to comment.