remove test modules
This commit is contained in:
parent
568a71cdbe
commit
20ca09c730
|
@ -1,2 +0,0 @@
|
||||||
import worlds.loader
|
|
||||||
print(worlds.loader.world_types)
|
|
|
@ -1,12 +0,0 @@
|
||||||
import importlib
|
|
||||||
import os
|
|
||||||
world_types = []
|
|
||||||
world_folder = os.path.dirname(__file__)
|
|
||||||
for entry in os.scandir(world_folder):
|
|
||||||
if entry.is_dir():
|
|
||||||
entryname = entry.name
|
|
||||||
if not entryname.startswith("_"):
|
|
||||||
world_module = importlib.import_module("."+entry.name, package="worlds")
|
|
||||||
world_types.append(world_module)
|
|
||||||
print(world_folder)
|
|
||||||
print(world_types)
|
|
Loading…
Reference in New Issue