mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Refactor REMOTEPATHS -> REMOTE_PATHS
This commit is contained in:
parent
d973f4955f
commit
2ebe96e049
3 changed files with 13 additions and 13 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue