Testing some code

This commit is contained in:
echel0n 2014-04-19 18:04:13 -07:00
commit 6607775753

View file

@ -21,7 +21,7 @@ class Transcoder:
command = [nzbtomedia.FFPROBE, videofile] command = [nzbtomedia.FFPROBE, videofile]
try: try:
logger.info('Checking if %s has any corruption, please stand by ...' % (videofile)) logger.info('Checking if %s has any corruption, please stand by ...' % (videofile))
result = call(command, stdout=bitbucket, stderr=bitbucket) result = call(command, stderr=bitbucket)
except: except:
logger.error("Checking video %s for corruption has failed" % (videofile)) logger.error("Checking video %s for corruption has failed" % (videofile))
return False return False