From 88c84efc2f237c4f7637995e907eb36021079e2b Mon Sep 17 00:00:00 2001 From: darthgandalf Date: Fri, 24 Dec 2010 07:31:44 +0000 Subject: [PATCH] Fix error in loading of python modules. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2203 726aef4b-f618-498e-8847-2d620e286838 --- modules/modpython/znc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modpython/znc.py b/modules/modpython/znc.py index 14d622ba..3570fe8d 100644 --- a/modules/modpython/znc.py +++ b/modules/modpython/znc.py @@ -305,7 +305,7 @@ def unload_module(module): def get_mod_info(modname, retmsg, modinfo): '''0-not found, 1-error, 2-success''' - pymodule, = find_open(modname) + pymodule, datadir = find_open(modname) if pymodule is None: return 0 if modname not in pymodule.__dict__: