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:
Adrian Moennich 2021-06-02 20:00:13 +02:00
parent 12b63167d2
commit 940cd5a1f9

View File

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