Merge branches 'develop' and 'tv' of https://github.com/RuudBurger/CouchPotatoServer into tv
Conflicts: couchpotato/core/plugins/renamer/main.py
This commit is contained in:
commit
2a76de50dd
15 files changed
+236
-217
No files matched your search
@@ -54,6 +54,10 @@ def sp(path, *args):
|
||||
if not path or len(path) == 0:
|
||||
return path
|
||||
|
||||
# convert windows path (from remote box) to *nix path
|
||||
if os.path.sep == '/' and '\\' in path:
|
||||
path = '/' + path.replace(':', '').replace('\\', '/')
|
||||
|
||||
path = os.path.normcase(os.path.normpath(ss(path, *args)))
|
||||
|
||||
if path != os.path.sep:
|
||||
|
||||
Reference in new issue
Block a user