Skip to content

Commit

Permalink
Remove old configuration setting after converting. #232
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Jan 13, 2019
1 parent c5eeb7d commit a238357
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terrariumNotification.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ def __load_config(self):
except Exception as ex:
address = self.__data.get('display','address')
resolution = self.__data.get('display','resolution')
self.__data.remove_option('display','resolution')

if '/dev/' in address:
self.__data.set('display', 'hardwaretype', 'LCDSerial16x2')
Expand Down

0 comments on commit a238357

Please sign in to comment.