add check for running instance. Fixes #466

This commit is contained in:
clinton-hall 2014-07-09 13:11:36 +09:30
commit 8a58dedd1d
6 changed files with 93 additions and 7 deletions

View file

@ -297,7 +297,7 @@ def main(args):
logger.info("The %s script completed successfully." % (args[0]))
else:
logger.error("A problem was reported in the %s script." % (args[0]))
del nzbtomedia.MYAPP
return result