mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-15 17:52:59 -07:00
Run futurize --stage2
This commit is contained in:
parent
ab6196589b
commit
597cc9fe29
12 changed files with 30 additions and 30 deletions
|
@ -274,10 +274,10 @@ class API2(object):
|
|||
config = {}
|
||||
|
||||
# Truthify the dict
|
||||
for k, v in conf.items():
|
||||
for k, v in list(conf.items()):
|
||||
if isinstance(v, dict):
|
||||
d = {}
|
||||
for kk, vv in v.items():
|
||||
for kk, vv in list(v.items()):
|
||||
if vv == '0' or vv == '1':
|
||||
d[kk] = bool(vv)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue