Added implicit verification (#4032)

This commit is contained in:
Gabriel M. Dutra 2019-12-09 17:49:11 -03:00 committed by Miroslav Stampar
parent 7b5a640d1f
commit 38d5086b88

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()