From 2b82a3044cb8e35485a0db5c5edf49fec18661e5 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Tue, 1 Jan 2008 11:32:29 -0500 Subject: [PATCH] Fix wrong parameter to imp.load_module() http://www.reinteract.org/trac/ticket/22 (Ryan Dean Bair) --- lib/reinteract/notebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reinteract/notebook.py b/lib/reinteract/notebook.py index 82c1f02..fd65735 100644 --- a/lib/reinteract/notebook.py +++ b/lib/reinteract/notebook.py @@ -87,7 +87,7 @@ class Notebook: module = self.__load_local_module(fullname, f, pathname, description) self.__modules[name] = module else: - module = imp.load_module(name, f, pathname, description) + module = imp.load_module(fullname, f, pathname, description) if parent != None: parent.__dict__[name] = module -- 2.11.4.GIT