fixed an exception
Dieser Commit ist enthalten in:
Ursprung
67fcb665f3
Commit
fbe73d2d83
|
@ -1 +1 @@
|
|||
__version__ = "0.1.1.1"
|
||||
__version__ = "0.1.2"
|
||||
|
|
|
@ -11,7 +11,12 @@ regex = re.compile("DOCUMENTATION *= *r?(?P<quote>\"{3}|'{3})(---)?.*?(?P=quote)
|
|||
|
||||
|
||||
def main():
|
||||
for modfile in moduledir.iterdir():
|
||||
try:
|
||||
modules = moduledir.iterdir()
|
||||
except:
|
||||
print("failed to find modules")
|
||||
return
|
||||
for modfile in modules:
|
||||
if modfile.name in ("__init__.py", "__pycache__", "unit.py.example"):
|
||||
continue
|
||||
mod = importlib.import_module(".".join((modfile.parts[:-1]) + (modfile.stem,)))
|
||||
|
|
Laden…
In neuem Issue referenzieren