Added Password change on cli

This commit is contained in:
Ozzie Isaacs
2021-01-17 09:17:46 +01:00
parent 4bc3c8d9ac
commit e09f2c9beb
2 changed files with 21 additions and 2 deletions

View File

@@ -110,7 +110,10 @@ if ipadress:
sys.exit(1)
# handle and check user password argument
user_password = args.s or None
user_credentials = args.s or None
if user_credentials and ":" not in user_credentials:
print("No valid username:password format")
sys.exit(3)
# Handles enableing of filepicker
filepicker = args.f or None