Commit 07c3a6ff authored by delanoe's avatar delanoe

[FIX] Bug Import. TODO: Import crawler should use same function as in...

[FIX] Bug Import. TODO: Import crawler should use same function as in constants (duplicata of code).
parent e2ee05f0
......@@ -10,7 +10,7 @@ for resource in RESOURCETYPES:
try:
name =resource["crawler"]
#crawler is type basename+"Crawler"
filename = name.replace("Crawler", "").lower()
filename = name.replace("Crawler", "").upper()
module = base_parser+".%s" %(filename)
importlib.import_module(module)
......
Markdown is supported
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