diff --git a/snakehouse/satella.py b/snakehouse/satella.py index 1b2909bf9bee6f4a1cbb1bf2320610cd79b2870c..57cbf47fa89aa47856b126cc0cfec5bd4a23857d 100644 --- a/snakehouse/satella.py +++ b/snakehouse/satella.py @@ -13,7 +13,7 @@ def _has_separator(path: str) -> bool: if len(path) == 3: if path.endswith(':/') or path.endswith(':\\'): return False - return any(map(lambda x: x in path, SEPARATORS)) + return any(map(lambda x: x in path, os.path.sep)) def _cond_join(prefix: tp.Optional[str], filename: str) -> str: """or a conditional os.path.join"""