Commit ef68e283 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer Committed by Résif-DC
Browse files

import wfcatalog on condition only

parent a0b40fb4
......@@ -14,7 +14,7 @@ import traceback
from proton.utils import BlockingConnection
from proton import Message
import resif_pyinventory
from wfcatalog.collector.WFCatalogCollector import WFCatalogCollector
SCRIPT_VERSION = 2021.190
......@@ -182,6 +182,7 @@ if __name__ == "__main__":
if args.seedtree:
queue = QUEUE_SEEDTREE_UPDATE
if args.wfcatalog:
from wfcatalog.collector.WFCatalogCollector import WFCatalogCollector
queue = QUEUE_WFCATALOG_UPDATE
# connect to AMQP broker
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment