fix linting

This commit is contained in:
Sergey Fedoruk 2018-12-30 20:01:02 +01:00 committed by Sergey Fedoruk
parent 391fcdc83d
commit 0c5c6dff8f

View File

@ -124,7 +124,7 @@ class Config(dict):
try:
self[config_key] = float(v)
except ValueError:
if v in ['True', 'False']:
self[config_key] = v == 'True'
if v in ["True", "False"]:
self[config_key] = v == "True"
else:
self[config_key] = v