Fix first_run_complete config flag

This commit is contained in:
JonnyWong16 2022-02-12 17:59:14 -08:00
parent ee43f001e4
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

@ -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