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