Patch
This commit is contained in:
@@ -43,10 +43,7 @@ class UserService(BaseService):
|
||||
return self.mapper.get_admin_uids()
|
||||
|
||||
async def get_repository_path(self, user_uid):
|
||||
path = pathlib.Path(f"./drive/repositories/{user_uid}")
|
||||
if not path.exists():
|
||||
return None
|
||||
return path
|
||||
return pathlib.Path(f"./drive/repositories/{user_uid}")
|
||||
|
||||
async def get_static_path(self, user_uid):
|
||||
path = pathlib.Path(f"./drive/{user_uid}/snek/static")
|
||||
|
||||
Reference in New Issue
Block a user