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