diff --git a/prody/apps/prody_apps/__init__.py b/prody/apps/prody_apps/__init__.py index 0a618919c..c1eeee031 100644 --- a/prody/apps/prody_apps/__init__.py +++ b/prody/apps/prody_apps/__init__.py @@ -51,8 +51,7 @@ for cmd in PRODY_APPS: cmd = 'prody_' + cmd - mod = imp.load_module('prody.apps.prody_apps.' + cmd, - *imp.find_module(cmd, [path_apps])) + mod = impLoadModule('prody.apps.prody_apps.', cmd, path_apps) mod.addCommand(prody_commands) def prody_main():