From aaee743942d486dcd03815ba541e90d678077258 Mon Sep 17 00:00:00 2001 From: wez3 Date: Sat, 21 Jan 2017 02:43:33 +0100 Subject: [PATCH] Modify error message for module import dependecies --- modules/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/plugins.py b/modules/plugins.py index c80011e..3107eb6 100644 --- a/modules/plugins.py +++ b/modules/plugins.py @@ -16,7 +16,7 @@ def loadPlugins(): plugin[name] = imp.load_source(name, plugin_dir + i) plugin[name].init() except ImportError as msg: - sys.exit("Error occured during loading imports for the plugin {}: {}".format(name, msg)) + sys.exit("Error occured during loading imports for the plugin {}: {}. Install it with 'easy_install {}' or 'pip install {}'".format(name, msg, msg , msg)) return plugin def getPluginDict():