From 117e69b812bee8b65e976893142a3aa9ff703da7 Mon Sep 17 00:00:00 2001 From: James Krieger Date: Thu, 19 Sep 2024 16:55:14 +0200 Subject: [PATCH] replace reverted code --- prody/apps/prody_apps/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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():