]> git.mxchange.org Git - fba.git/blobdiff - fetch_bkali.py
Continued:
[fba.git] / fetch_bkali.py
index acfe7c6057ee8f2f6eb58f7fba3f3a62440d3a2d..f6b6fdb2e6c55919d36e7680917d0babe415e003 100755 (executable)
@@ -20,7 +20,9 @@
 import json
 import sys
 import validators
-import fba
+from fba import *
+
+boot.lock_process()
 
 domains = list()
 try:
@@ -66,4 +68,4 @@ if len(domains) > 0:
         print(f"INFO: Fetching instances from domain='{domain}' ...")
         fba.fetch_instances(domain, None, None, sys.argv[0])
 
-fba.connection.close()
+boot.shutdown()