mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Fix first_run_complete config flag
This commit is contained in:
parent
ee43f001e4
commit
40dc6e08ef
3 changed files with 4 additions and 2 deletions
|
@ -244,7 +244,6 @@
|
||||||
<input type="checkbox" name="notify_group_recently_added_grandparent" id="notify_group_recently_added_grandparent" value="1" checked>
|
<input type="checkbox" name="notify_group_recently_added_grandparent" id="notify_group_recently_added_grandparent" value="1" checked>
|
||||||
<input type="checkbox" name="notify_group_recently_added_parent" id="notify_group_recently_added_parent" value="1" checked>
|
<input type="checkbox" name="notify_group_recently_added_parent" id="notify_group_recently_added_parent" value="1" checked>
|
||||||
<input type="checkbox" name="server_changed" id="server_changed" value="1" checked>
|
<input type="checkbox" name="server_changed" id="server_changed" value="1" checked>
|
||||||
<input type="checkbox" name="first_run_complete" id="first_run_complete" value="1" checked>
|
|
||||||
<input type="text" name="home_stats_cards" id="home_stats_cards" value="first_run_wizard">
|
<input type="text" name="home_stats_cards" id="home_stats_cards" value="first_run_wizard">
|
||||||
<input type="text" name="home_library_cards" id="home_library_cards" value="first_run_wizard">
|
<input type="text" name="home_library_cards" id="home_library_cards" value="first_run_wizard">
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -307,7 +307,6 @@ CHECKED_SETTINGS = [
|
||||||
'CACHE_IMAGES',
|
'CACHE_IMAGES',
|
||||||
'CHECK_GITHUB',
|
'CHECK_GITHUB',
|
||||||
'ENABLE_HTTPS',
|
'ENABLE_HTTPS',
|
||||||
'FIRST_RUN_COMPLETE',
|
|
||||||
'GET_FILE_SIZES',
|
'GET_FILE_SIZES',
|
||||||
'GROUP_HISTORY_TABLES',
|
'GROUP_HISTORY_TABLES',
|
||||||
'HISTORY_TABLE_ACTIVITY',
|
'HISTORY_TABLE_ACTIVITY',
|
||||||
|
|
|
@ -3261,6 +3261,10 @@ class WebInterface(object):
|
||||||
|
|
||||||
all_settings = config.SETTINGS + config.CHECKED_SETTINGS
|
all_settings = config.SETTINGS + config.CHECKED_SETTINGS
|
||||||
kwargs = {k: v for k, v in kwargs.items() if k.upper() in all_settings}
|
kwargs = {k: v for k, v in kwargs.items() if k.upper() in all_settings}
|
||||||
|
|
||||||
|
if first_run:
|
||||||
|
kwargs['first_run_complete'] = 1
|
||||||
|
|
||||||
plexpy.CONFIG.process_kwargs(kwargs)
|
plexpy.CONFIG.process_kwargs(kwargs)
|
||||||
|
|
||||||
# Write the config
|
# Write the config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue