Fix python plugin path
Change-Id: I3c5212389ec69bb3d9eb42cda0b99a5e64e036b6
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ffdc/ffdc_collector.py b/ffdc/ffdc_collector.py
index e54e941..95d4fa7 100644
--- a/ffdc/ffdc_collector.py
+++ b/ffdc/ffdc_collector.py
@@ -33,7 +33,8 @@
- arg1
- arg2
"""
-plugin_dir = 'plugins'
+abs_path = os.path.abspath(os.path.dirname(sys.argv[0]))
+plugin_dir = abs_path + '/plugins'
try:
for module in os.listdir(plugin_dir):
if module == '__init__.py' or module[-3:] != '.py':