mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-14 17:05:05 +00:00
Fix properly handle an error condition during process tv
This commit is contained in:
parent
d19c8fe917
commit
1c0eb5acb8
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class ProcessTVShow(object):
|
|||
:rtype: bool
|
||||
"""
|
||||
# check if it's a folder
|
||||
if not os.path.isdir(folder):
|
||||
if not folder or not os.path.isdir(folder):
|
||||
return False
|
||||
|
||||
# make sure it isn't TV_DOWNLOAD_DIR
|
||||
|
|
Loading…
Reference in a new issue