Added implicit verification

This commit is contained in:
Gabriel M. Dutra 2019-12-09 14:46:06 -06:00 committed by GitHub
parent 7b5a640d1f
commit 69b38f8f2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,9 +63,9 @@ def main():
(args, _) = apiparser.parse_args()
# Start the client or the server
if args.server is True:
if args.server:
server(args.host, args.port, adapter=args.adapter, username=args.username, password=args.password)
elif args.client is True:
elif args.client:
client(args.host, args.port, username=args.username, password=args.password)
else:
apiparser.print_help()