From 940cd5a1f9cbbe80296e702f77d3788fa0045c56 Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Wed, 2 Jun 2021 20:00:13 +0200 Subject: [PATCH] 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. --- livesync/indico_livesync/cli.py | 1 - 1 file changed, 1 deletion(-) diff --git a/livesync/indico_livesync/cli.py b/livesync/indico_livesync/cli.py index f33833b..1eb8146 100644 --- a/livesync/indico_livesync/cli.py +++ b/livesync/indico_livesync/cli.py @@ -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()