remove test modules

This commit is contained in:
Fabian Dill 2021-06-11 14:23:59 +02:00
parent 568a71cdbe
commit 20ca09c730
2 changed files with 0 additions and 14 deletions

View File

@ -1,2 +0,0 @@
import worlds.loader
print(worlds.loader.world_types)

View File

@ -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)