Fix first_run_complete config flag

This commit is contained in:
JonnyWong16 2022-02-12 17:59:14 -08:00
commit 40dc6e08ef
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 4 additions and 2 deletions

View file

@ -307,7 +307,6 @@ CHECKED_SETTINGS = [
'CACHE_IMAGES',
'CHECK_GITHUB',
'ENABLE_HTTPS',
'FIRST_RUN_COMPLETE',
'GET_FILE_SIZES',
'GROUP_HISTORY_TABLES',
'HISTORY_TABLE_ACTIVITY',

View file

@ -3261,6 +3261,10 @@ class WebInterface(object):
all_settings = config.SETTINGS + config.CHECKED_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)
# Write the config