Merge branch 'microsoft' of github.com:alemidev/treepuncher into microsoft
This commit is contained in:
commit
aeea271547
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import asyncio
|
||||
import logging
|
||||
import argparse
|
||||
|
@ -25,7 +26,7 @@ def main():
|
|||
addons : Set[Type[Addon]] = set()
|
||||
|
||||
for path in sorted(addon_path.rglob('*.py')):
|
||||
py_path = str(path).replace('/', '.').replace('.py', '')
|
||||
py_path = str(path).replace('/', '.').replace('\\', '.').replace('.py', '')
|
||||
try:
|
||||
m = import_module(py_path)
|
||||
for obj_name in vars(m).keys():
|
||||
|
|
Loading…
Reference in a new issue