remove not as the flags is set to false

This commit is contained in:
Bruno Windels 2018-09-19 13:22:19 +02:00
parent 4311f861a3
commit d4c389f0e4

View file

@ -203,6 +203,6 @@ if __name__ == "__main__":
else:
secret = args.shared_secret
admin = args.admin or not args.no_admin or None
admin = args.admin or args.no_admin or None
register_new_user(args.user, args.password, args.server_url, secret, admin)