Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
flatsiedatsie committed Jan 2, 2024
1 parent 22d50c0 commit f40607d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"Show clock": true,
"Show date": true,
"Show weather": true,
"Show Voco timers": true,
"Debugging": false
},
"schema": {
Expand Down
12 changes: 6 additions & 6 deletions pkg/photo_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,21 +278,21 @@ def add_from_config(self):
if self.DEBUG:
print("Black and white preference was in config: " + str(self.greyscale))

if 'Show date' in config:
self.show_date = bool(config['Show date'])
if self.DEBUG:
print("-Date preference was in config: " + str(self.show_date))

if 'Show clock' in config:
self.show_clock = bool(config['Show clock'])
if self.DEBUG:
print("-Clock preference was in config: " + str(self.show_clock))

if 'Show weather' in config:
self.show_weather = bool(config['Show weather'])
if self.DEBUG:
print("-Weather preference was in config: " + str(self.show_weather))

if 'Show date' in config:
self.show_date = bool(config['Show date'])
if self.DEBUG:
print("-Date preference was in config: " + str(self.show_date))

if 'Show Voco timers' in config:
self.show_voco_timers = bool(config['Show Voco timers'])
if self.DEBUG:
Expand Down

0 comments on commit f40607d

Please sign in to comment.