Refactor REMOTEPATHS -> REMOTE_PATHS

This commit is contained in:
Labrys of Knossos 2019-01-19 00:50:00 -05:00
commit 2ebe96e049
3 changed files with 13 additions and 13 deletions

View file

@ -48,9 +48,9 @@ def make_dir(path):
def remote_dir(path):
if not core.REMOTEPATHS:
if not core.REMOTE_PATHS:
return path
for local, remote in core.REMOTEPATHS:
for local, remote in core.REMOTE_PATHS:
if local in path:
base_dirs = path.replace(local, '').split(os.sep)
if '/' in remote: