fix linting
This commit is contained in:
parent
391fcdc83d
commit
0c5c6dff8f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user