parent
ee1a33cc4c
commit
807fb1614e
1 changed files with 3 additions and 4 deletions
|
@ -128,10 +128,9 @@ def _write_pms_settings(url, token):
|
||||||
return
|
return
|
||||||
for entry in xml:
|
for entry in xml:
|
||||||
if entry.attrib.get('id', '') == 'allowMediaDeletion':
|
if entry.attrib.get('id', '') == 'allowMediaDeletion':
|
||||||
settings('plex_allows_mediaDeletion',
|
value = 'true' if entry.get('value', '1') == '1' else 'false'
|
||||||
value=entry.attrib.get('value', 'true'))
|
settings('plex_allows_mediaDeletion', value=value)
|
||||||
window('plex_allows_mediaDeletion',
|
window('plex_allows_mediaDeletion', value=value)
|
||||||
value=entry.attrib.get('value', 'true'))
|
|
||||||
|
|
||||||
|
|
||||||
class InitialSetup(object):
|
class InitialSetup(object):
|
||||||
|
|
Loading…
Reference in a new issue