diff options
Diffstat (limited to 'static_logic.py')
-rw-r--r-- | static_logic.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): | |||
107 | return getattr(safe_builtins, name) | 107 | return getattr(safe_builtins, name) |
108 | raise pickle.UnpicklingError(f"global '{module}.{name}' is forbidden") | 108 | raise pickle.UnpicklingError(f"global '{module}.{name}' is forbidden") |
109 | 109 | ||
110 | file = pkgutil.get_data(__name__, os.path.join("data", "generated.dat")) | 110 | file = pkgutil.get_data(__name__, "data/generated.dat") |
111 | pickdata = RenameUnpickler(BytesIO(file)).load() | 111 | pickdata = RenameUnpickler(BytesIO(file)).load() |
112 | 112 | ||
113 | HASHES.update(pickdata["HASHES"]) | 113 | HASHES.update(pickdata["HASHES"]) |