commit 0c48a122f038e406f6901777a27d038e2c4fb626
parent 99ea1f4d4bb0b5cb4ea0b6bc1f10c3dad64f4145
Author: Matthias Balk <mbalk@mbalk.de>
Date: Wed, 25 Dec 2019 18:50:07 +0100
'is not' -> '!='
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/commands.py b/src/commands.py
@@ -37,7 +37,7 @@ def _localtime2utc(datetimestr):
def _get_input(key):
if key in config.DEFAULTS:
i = input('%s: [%s] ' % (key, config.DEFAULTS[key]))
- return i if i.strip() is not '' else config.DEFAULTS[key]
+ return i if i.strip() != '' else config.DEFAULTS[key]
return input('%s: ' % key)