Skip to content

Commit 28ae8fa

Browse files
committed
Fix create config
1 parent ca39302 commit 28ae8fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/superannotate/lib/infrastructure/repositories.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def _create_config(self):
3434
"""
3535
Create a config file
3636
"""
37+
os.makedirs(os.path.dirname(self._config_path), exist_ok=True)
3738
open(self._config_path, "w").close()
3839
return {}
3940

0 commit comments

Comments
 (0)