mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Various Worlds: use / explicitly for pkgutil (#4232)
This commit is contained in:
@@ -107,7 +107,7 @@ def load_static_data_from_file():
|
||||
return getattr(safe_builtins, name)
|
||||
raise pickle.UnpicklingError(f"global '{module}.{name}' is forbidden")
|
||||
|
||||
file = pkgutil.get_data(__name__, os.path.join("data", "generated.dat"))
|
||||
file = pkgutil.get_data(__name__, "data/generated.dat")
|
||||
pickdata = RenameUnpickler(BytesIO(file)).load()
|
||||
|
||||
HASHES.update(pickdata["HASHES"])
|
||||
|
||||
Reference in New Issue
Block a user