mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 15:34:37 +00:00
LiveSync: Allow manual queue runs even if queue runs disabled
The setting actually mentions scheduled queue runs, any being able to run the queue manually is pretty convenient.
This commit is contained in:
parent
12b63167d2
commit
940cd5a1f9
@ -121,7 +121,6 @@ def run(agent_id, force, verbose):
|
||||
from indico_livesync.plugin import LiveSyncPlugin
|
||||
if LiveSyncPlugin.settings.get('disable_queue_runs'):
|
||||
print(cformat('%{yellow!}Queue runs are disabled%{reset}'))
|
||||
return
|
||||
|
||||
if agent_id is None:
|
||||
agent_list = LiveSyncAgent.query.all()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user