don't iterate None type. Fixes #763

This commit is contained in:
clinton-hall 2015-05-28 21:22:57 +09:30
commit 2ad1d0ba1c

View file

@ -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)