From 0b291e893113140153306df6ae79fde7c5f92199 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Thu, 14 Mar 2013 02:15:25 -0700 Subject: [PATCH] absolute path for autoProcess folder --- nzbToSickBeard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nzbToSickBeard.py b/nzbToSickBeard.py index ec579678..2a22ef47 100755 --- a/nzbToSickBeard.py +++ b/nzbToSickBeard.py @@ -22,8 +22,9 @@ # Also added suppot for NZBGet. With help from thorli +import os import sys -sys.path.insert(0, 'autoProcess/') # add this folder to path as this allows out-of-sight files to be called. +sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]),'autoProcess/')) import logging import migratecfg