Skip to content

Commit

Permalink
simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
JavanXD committed Feb 17, 2020
1 parent c05ded3 commit 9bf9197
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions read_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,7 @@ def validate_settings(settings):
ts_channels.append(ts_channel)
settings['ts_channels'] = ts_channels
except:
ts_channel = {}
ts_channel['ts_channel_id']= None
ts_channel['ts_write_key'] = None
ts_channels = []
ts_channels.append(ts_channel)
settings['ts_channels'] = ts_channels
settings['ts_channels'] = get_defaults()["ts_channels"]


if updateSettingsFile:
Expand Down

0 comments on commit 9bf9197

Please sign in to comment.