mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Merge branch 'dev' into nightly
This commit is contained in:
commit
f8b98e5a4f
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
import copy
|
||||
import os
|
||||
import time
|
||||
import errno
|
||||
import requests
|
||||
import json
|
||||
import nzbtomedia
|
||||
|
@ -92,7 +93,7 @@ class autoProcessTV:
|
|||
os.makedirs(dirName) # Attempt to create the directory
|
||||
except OSError, e:
|
||||
# Re-raise the error if it wasn't about the directory not existing
|
||||
if exception.errno != errno.EEXIST:
|
||||
if e.errno != errno.EEXIST:
|
||||
raise
|
||||
|
||||
# Check video files for corruption
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue