summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/ihooks.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/ihooks.py b/Lib/ihooks.py
index a6ab1a5..bdc48e1 100644
--- a/Lib/ihooks.py
+++ b/Lib/ihooks.py
@@ -272,6 +272,7 @@ class FancyModuleLoader(ModuleLoader):
if type == FROZEN_MODULE:
code = self.hooks.get_frozen_object(name)
elif type == PY_COMPILED:
+ import marshal
file.seek(8)
code = marshal.load(file)
elif type == PY_SOURCE: