mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13: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
|
return True
|
||||||
|
|
||||||
def remoteDir(path):
|
def remoteDir(path):
|
||||||
|
if not core.REMOTEPATHS:
|
||||||
|
return path
|
||||||
for local,remote in core.REMOTEPATHS:
|
for local,remote in core.REMOTEPATHS:
|
||||||
if local in path:
|
if local in path:
|
||||||
base_dirs = path.replace(local,"").split(os.sep)
|
base_dirs = path.replace(local,"").split(os.sep)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue