Skip to content

Commit eef8ed1

Browse files
committed
Make voice subdir for homepath
1 parent 8b30cb2 commit eef8ed1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/service/namespace.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def create_namespace(self) -> Namespace:
4545
created_at = datetime.now(timezone.utc)
4646
home_path = os.path.join(self.base_dir, namespace_id)
4747
os.makedirs(home_path, exist_ok=True)
48+
os.makedirs(os.path.join(home_path, "voices"), exist_ok=True)
4849

4950
namespace = Namespace(
5051
namespaceID=namespace_id,

0 commit comments

Comments
 (0)