From b5fc38f1f961f13d885b13582e3709704a0e57c3 Mon Sep 17 00:00:00 2001 From: qwint Date: Sun, 8 Dec 2024 19:59:40 -0500 Subject: Various Worlds: use / explicitly for pkgutil (#4232) --- static_logic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static_logic.py b/static_logic.py index 74eea44..9925e95 100644 --- a/static_logic.py +++ b/static_logic.py @@ -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"]) -- cgit 1.4.1