From f17131917f5818041fad38b42ec42f8f0660dbcc Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Mon, 9 Dec 2013 10:06:07 +1030 Subject: [PATCH] icorrect variable name. fixes #213 --- autoProcess/Transcoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoProcess/Transcoder.py b/autoProcess/Transcoder.py index da3be01d..0e5ba988 100644 --- a/autoProcess/Transcoder.py +++ b/autoProcess/Transcoder.py @@ -117,7 +117,7 @@ def Transcode_directory(dirName): command.append(newfilePath) try: # Try to remove the file that we're transcoding to just in case. (ffmpeg will return an error if it already exists for some reason) - os.remove(newFilePath) + os.remove(newfilePath) except OSError, e: if e.errno != errno.ENOENT: # Ignore the error if it's just telling us that the file doesn't exist Logger.debug("Error when removing transcoding target: %s", e)