Rename sys_tray_icon setting

This commit is contained in:
JonnyWong16 2020-04-25 18:31:09 -07:00
parent d5373c3992
commit 00c9fc79f9
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
5 changed files with 11 additions and 11 deletions

View file

@ -638,7 +638,7 @@ _CONFIG_DEFINITIONS = {
'JWT_SECRET': (str, 'Advanced', ''),
'JWT_UPDATE_SECRET': (bool_int, 'Advanced', 0),
'SYSTEM_ANALYTICS': (int, 'Advanced', 1),
'WIN_SYS_TRAY': (int, 'General', 1)
'SYS_TRAY': (int, 'General', 1),
}
_BLACKLIST_KEYS = ['_APITOKEN', '_TOKEN', '_KEY', '_SECRET', '_PASSWORD', '_APIKEY', '_ID', '_HOOK']

View file

@ -3038,7 +3038,7 @@ class WebInterface(object):
"newsletter_password": plexpy.CONFIG.NEWSLETTER_PASSWORD,
"newsletter_inline_styles": checked(plexpy.CONFIG.NEWSLETTER_INLINE_STYLES),
"newsletter_custom_dir": plexpy.CONFIG.NEWSLETTER_CUSTOM_DIR,
"win_sys_tray": checked(plexpy.CONFIG.WIN_SYS_TRAY)
"sys_tray_icon": checked(plexpy.CONFIG.SYS_TRAY_ICON)
}
return serve_template(templatename="settings.html", title="Settings", config=config, kwargs=kwargs)
@ -3074,7 +3074,7 @@ class WebInterface(object):
"allow_guest_access", "cache_images", "http_proxy", "http_basic_auth", "notify_concurrent_by_ip",
"history_table_activity", "plexpy_auto_update",
"themoviedb_lookup", "tvmaze_lookup", "musicbrainz_lookup", "http_plex_admin",
"newsletter_self_hosted", "newsletter_inline_styles", "win_sys_tray"
"newsletter_self_hosted", "newsletter_inline_styles", "sys_tray_icon"
]
for checked_config in checked_configs:
if checked_config not in kwargs: