Skip to content

Commit 886522a

Browse files
committed
fix
1 parent b4010a7 commit 886522a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

collectors_list.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@
88
collectors = {}
99

1010

11+
print("collectors dir: {}".format(settings.COLLECTORS_DIR))
1112
for root, dirs, files in os.walk(settings.COLLECTORS_DIR):
1213
for file in files:
1314
if file.endswith(".py"):
15+
print("processing file: {}".format(file))
16+
1417
file_path = os.path.join(root, file)
1518
module_name = os.path.splitext(file_path)[0].replace('/', '.')
19+
print("module name: {}".format(module_name))
1620
spec = importlib.util.spec_from_file_location(module_name, file_path)
1721

1822
collector_module = importlib.util.module_from_spec(spec)

0 commit comments

Comments
 (0)