From 7e2c9e8c958dacc13b1bd38286ccec62e8f11994 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 20 Jun 2023 05:06:52 +0200 Subject: [PATCH] Continued: - better acquire lock here --- fba/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fba/commands.py b/fba/commands.py index 8777293..e51de62 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -320,6 +320,8 @@ def fetch_observer(args: argparse.Namespace): "writefreely" ] + locking.acquire() + print(f"INFO: Fetching {len(types)} different table data ...") for software in types: doc = None -- 2.39.5