Compare commits
6 Commits
5174602c31
...
v0.6.0
Author | SHA1 | Date | |
---|---|---|---|
5129cb449e | |||
4d6efac3c4 | |||
88b820e90d | |||
afefea6f68
|
|||
e5fad5ba92
|
|||
1bcca0f812 |
@@ -90,7 +90,9 @@ async def get_user(user: str) -> UserInDB:
|
||||
return UserInDB(
|
||||
user=found_user["user"],
|
||||
email=found_user["email"],
|
||||
quota=found_user["quota"],
|
||||
quota=found_user["quota"]
|
||||
if found_user["quota"] is not None
|
||||
else configGet("default_user_quota"),
|
||||
disabled=found_user["disabled"],
|
||||
hash=found_user["hash"],
|
||||
)
|
||||
|
@@ -37,7 +37,7 @@ parser = ArgumentParser(
|
||||
|
||||
parser.add_argument("--migrate", action="store_true")
|
||||
|
||||
args = parser.parse_args()
|
||||
args, unknown = parser.parse_known_args()
|
||||
|
||||
if args.migrate:
|
||||
migrate_database()
|
||||
|
Reference in New Issue
Block a user