mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Make sure status is always an integer
This commit is contained in:
parent
9358da4b37
commit
460e20bf77
1 changed files with 2 additions and 1 deletions
|
@ -27,9 +27,10 @@ class AuthURLOpener(urllib.FancyURLopener):
|
||||||
|
|
||||||
def process(dirName, nzbName=None, status=0):
|
def process(dirName, nzbName=None, status=0):
|
||||||
|
|
||||||
|
status = int(status)
|
||||||
config = ConfigParser.ConfigParser()
|
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]), "autoProcessMovie.cfg")
|
||||||
print "autoProcessMovie v 3.0"
|
print "autoProcessMovie v 3.1"
|
||||||
print "Loading config from", configFilename
|
print "Loading config from", configFilename
|
||||||
|
|
||||||
if not os.path.isfile(configFilename):
|
if not os.path.isfile(configFilename):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue