Start the scheduler after first run wizard.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user