mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
autoProcessMedia
This commit is contained in:
parent
b662299555
commit
d6671b7cec
1 changed files with 2 additions and 2 deletions
|
@ -45,11 +45,11 @@ def processEpisode(dirName, nzbName=None, failed=False):
|
||||||
|
|
||||||
status = int(failed)
|
status = int(failed)
|
||||||
config = ConfigParser.ConfigParser()
|
config = ConfigParser.ConfigParser()
|
||||||
configFilename = os.path.join(os.path.dirname(sys.argv[0]), "autoProcessTV.cfg")
|
configFilename = os.path.join(os.path.dirname(sys.argv[0]), "autoProcessMedia.cfg")
|
||||||
print "Loading config from", configFilename
|
print "Loading config from", configFilename
|
||||||
|
|
||||||
if not os.path.isfile(configFilename):
|
if not os.path.isfile(configFilename):
|
||||||
print "ERROR: You need an autoProcessTV.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)
|
sys.exit(-1)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue