diff --git a/src/snek/service/user.py b/src/snek/service/user.py index 6055403..b70be63 100644 --- a/src/snek/service/user.py +++ b/src/snek/service/user.py @@ -42,7 +42,10 @@ class UserService(BaseService): async def get_home_folder(self, user_uid): folder = pathlib.Path(f"./drive/{user_uid}") if not folder.exists(): - folder.mkdir(parents=True, exist_ok=True) + try: + folder.mkdir(parents=True, exist_ok=True) + except: + pass return folder async def register(self, email, username, password):