mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 00:06:07 -07:00
Start the scheduler after first run wizard.
This commit is contained in:
parent
89a03fb263
commit
6f6541fdb8
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ class WebInterface(object):
|
||||||
# The setup wizard just refreshes the page on submit so we must redirect to home if config set.
|
# The setup wizard just refreshes the page on submit so we must redirect to home if config set.
|
||||||
# Also redirecting to home if a PMS token already exists - will remove this in future.
|
# Also redirecting to home if a PMS token already exists - will remove this in future.
|
||||||
if plexpy.CONFIG.FIRST_RUN_COMPLETE or plexpy.CONFIG.PMS_TOKEN:
|
if plexpy.CONFIG.FIRST_RUN_COMPLETE or plexpy.CONFIG.PMS_TOKEN:
|
||||||
|
plexpy.initialize_scheduler()
|
||||||
raise cherrypy.HTTPRedirect("home")
|
raise cherrypy.HTTPRedirect("home")
|
||||||
else:
|
else:
|
||||||
return serve_template(templatename="welcome.html", title="Welcome", config=config)
|
return serve_template(templatename="welcome.html", title="Welcome", config=config)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue