Skip to content

Commit

Permalink
Fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bk1285 committed Sep 19, 2019
1 parent 26ce7df commit 1c3abac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wordclock_tools/wordclock_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ def __init__(self, config, wci):
'For details see also https://github.com/jgarff/rpi_ws281x/blob/master/python/README.md')

if config.get('wordclock_display', 'default_font') == 'wcfont':
self.default_font = self.base_path + '/wcfont.ttf'
self.default_font = self.base_path + '/wcfont.ttf'
else:
self.default_font = os.path.join('/usr/share/fonts/truetype/freefont/',
config.get('wordclock_display', 'default_font') + '.ttf')
self.default_font = os.path.join('/usr/share/fonts/truetype/freefont/', config.get('wordclock_display', 'default_font') + '.ttf')

# Initialize the NeoPixel object
self.strip.begin()
Expand Down

0 comments on commit 1c3abac

Please sign in to comment.