mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-15 01:32:53 -07:00
icorrect variable name. fixes #213
This commit is contained in:
parent
5ddb1ca193
commit
f17131917f
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ def Transcode_directory(dirName):
|
||||||
command.append(newfilePath)
|
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)
|
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:
|
except OSError, e:
|
||||||
if e.errno != errno.ENOENT: # Ignore the error if it's just telling us that the file doesn't exist
|
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)
|
Logger.debug("Error when removing transcoding target: %s", e)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue