diff --git a/data/interfaces/default/queue_modal.html b/data/interfaces/default/queue_modal.html index dd97ccb3..91bead00 100644 --- a/data/interfaces/default/queue_modal.html +++ b/data/interfaces/default/queue_modal.html @@ -1,7 +1,7 @@ <% import datetime - from plexpy import helpers - from plexpy.activity_handler import ACTIVITY_SCHED, schedule_callback + import plexpy + from plexpy import activity_handler, helpers if queue == 'active sessions': filter_key = 'session_key-' @@ -14,7 +14,7 @@ title_key = title_format.format('Rating Key', 'Title') description = 'Queue to flush recently added items to the database and send notifications if enabled.' - scheduled_jobs = [j.id for j in ACTIVITY_SCHED.get_jobs() if j.id.startswith(filter_key)] + scheduled_jobs = [j.id for j in activity_handler.ACTIVITY_SCHED.get_jobs() if j.id.startswith(filter_key)] %>