absolute path for autoProcess folder

This commit is contained in:
Clinton Hall 2013-03-14 02:21:55 -07:00
commit ca191024a8

View file

@ -1,6 +1,6 @@
import sys
sys.path.insert(0, 'autoProcess/') # add this folder to path as this allows out-of-sight files to be called.
import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]),'autoProcess/'))
import logging
from subprocess import call
from nzbToMediaUtil import create_destination