We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f58bb2c commit d4d712cCopy full SHA for d4d712c
evnotipi.py
@@ -116,7 +116,7 @@ def exit_gracefully(signum, frame):
116
settings = s
117
118
if s['soc'] != socThreshold:
119
- socThreshold = int(s['soc'])
+ socThreshold = int(s['soc']) if s['soc'] else 100
120
print("New notification threshold: {}".format(socThreshold))
121
122
except EVNotify.CommunicationError:
0 commit comments