mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
don't iterate None type. Fixes #763
This commit is contained in:
parent
042fcce6b7
commit
2ad1d0ba1c
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ def makeDir(path):
|
|||
return True
|
||||
|
||||
def remoteDir(path):
|
||||
if not core.REMOTEPATHS:
|
||||
return path
|
||||
for local,remote in core.REMOTEPATHS:
|
||||
if local in path:
|
||||
base_dirs = path.replace(local,"").split(os.sep)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue