Skip sample module
This commit is contained in:
parent
88514af6f9
commit
03005113b2
4
main.py
4
main.py
@ -6,6 +6,10 @@ import os
|
||||
def get_modules():
|
||||
modules = []
|
||||
for folder in os.listdir("./modules"):
|
||||
#skipping sample module
|
||||
if folder == "sample":
|
||||
continue
|
||||
|
||||
print("Module found: " + folder)
|
||||
curr_module = importlib.import_module('.' + folder, package="modules")
|
||||
print("Try to load module: " + folder)
|
||||
|
Loading…
Reference in New Issue
Block a user