diff --git a/src/utils.py b/src/utils.py index a4ff1040..049ec9f4 100644 --- a/src/utils.py +++ b/src/utils.py @@ -95,7 +95,7 @@ def path_to_module(path: str) -> str: return '' result = '' for c in path: - if c not in (os.sep, '.'): + if c not in (os.sep, '/', '.'): result += c else: if result and result[-1] != '.':