Skip to content
Snippets Groups Projects
Unverified Commit c60f089e authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

build fix

parent b57e74d4
No related branches found
No related tags found
No related merge requests found
Pipeline #61309 failed with stages
in 3 minutes and 10 seconds
...@@ -13,7 +13,7 @@ def _has_separator(path: str) -> bool: ...@@ -13,7 +13,7 @@ def _has_separator(path: str) -> bool:
if len(path) == 3: if len(path) == 3:
if path.endswith(':/') or path.endswith(':\\'): if path.endswith(':/') or path.endswith(':\\'):
return False 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: def _cond_join(prefix: tp.Optional[str], filename: str) -> str:
"""or a conditional os.path.join""" """or a conditional os.path.join"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment