]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 20 Jun 2023 03:06:52 +0000 (05:06 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 20 Jun 2023 03:06:52 +0000 (05:06 +0200)
- better acquire lock here

fba/commands.py

index 87772930102d5e549eead70f4814c91a85b2f8d3..e51de628fa3dd353b8ed01fe2e25df6b308c1e7f 100644 (file)
@@ -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