diff --git a/nzbToCouchPotato.py b/nzbToCouchPotato.py index ff8c71a4..4e82ed65 100755 --- a/nzbToCouchPotato.py +++ b/nzbToCouchPotato.py @@ -1,7 +1,8 @@ #!/usr/bin/env python +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