Core: fix unittest world discovery (#2262)

This commit is contained in:
black-sliver
2023-10-03 09:47:22 +02:00
committed by GitHub
parent 6b48f9aac5
commit cdbb2cf7b7
2 changed files with 3 additions and 2 deletions

View File

@@ -13,5 +13,6 @@ ModuleUpdate.update_ran = True # don't upgrade
import Utils
Utils.local_path.cached_path = pathlib.Path(__file__).parent.parent
file_path = pathlib.Path(__file__).parent.parent
Utils.local_path.cached_path = file_path
Utils.user_path() # initialize cached_path