mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-30 19:40:03 -07:00
autoProcessMedia
This commit is contained in:
parent
7aca279c2f
commit
b662299555
1 changed files with 2 additions and 2 deletions
|
@ -29,11 +29,11 @@ def process(dirName, nzbName=None, status=0):
|
|||
|
||||
status = int(status)
|
||||
config = ConfigParser.ConfigParser()
|
||||
configFilename = os.path.join(os.path.dirname(sys.argv[0]), "autoProcessMovie.cfg")
|
||||
configFilename = os.path.join(os.path.dirname(sys.argv[0]), "autoProcessMedia.cfg")
|
||||
print "Loading config from", configFilename
|
||||
|
||||
if not os.path.isfile(configFilename):
|
||||
print "ERROR: You need an autoProcessMovie.cfg file - did you rename and edit the .sample?"
|
||||
print "ERROR: You need an autoProcessMedia.cfg file - did you rename and edit the .sample?"
|
||||
sys.exit(-1)
|
||||
|
||||
config.read(configFilename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue