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: try:
self[config_key] = float(v) self[config_key] = float(v)
except ValueError: except ValueError:
if v in ['True', 'False']: if v in ["True", "False"]:
self[config_key] = v == 'True' self[config_key] = v == "True"
else: else:
self[config_key] = v self[config_key] = v