mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
autoProcessMedia
This commit is contained in:
parent
44bde704d4
commit
292cc52598
1 changed files with 2 additions and 2 deletions
|
@ -52,12 +52,12 @@ status = 0
|
||||||
packed = 0
|
packed = 0
|
||||||
|
|
||||||
config = ConfigParser.ConfigParser()
|
config = ConfigParser.ConfigParser()
|
||||||
configFilename = os.path.join(os.path.dirname(sys.argv[0]), "TorrentToMedia.cfg")
|
configFilename = os.path.join(os.path.dirname(sys.argv[0]), "autoProcessMedia.cfg")
|
||||||
|
|
||||||
print "INFO: Loading config from", configFilename
|
print "INFO: Loading config from", configFilename
|
||||||
|
|
||||||
if not os.path.isfile(configFilename):
|
if not os.path.isfile(configFilename):
|
||||||
print "ERROR: You need a TorrentToMedia.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)
|
||||||
|
|
||||||
config.read(configFilename)
|
config.read(configFilename)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue