fix: hash-password command import name
This commit is contained in:
+2
-2
@@ -31,10 +31,10 @@ def main() -> None:
|
|||||||
if args.command == "version":
|
if args.command == "version":
|
||||||
print(VERSION)
|
print(VERSION)
|
||||||
elif args.command == "hash-password":
|
elif args.command == "hash-password":
|
||||||
from .password import hash as hash_pw
|
from .password import hash_password
|
||||||
|
|
||||||
pw = args.password or input("Password: ")
|
pw = args.password or input("Password: ")
|
||||||
print(hash_pw(pw))
|
print(hash_password(pw))
|
||||||
elif args.command == "serve":
|
elif args.command == "serve":
|
||||||
_serve(args)
|
_serve(args)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user