lda_controller: replace serial argument with device one

This commit is contained in:
Yann Sionneau 2015-03-23 09:55:08 +01:00 committed by Sebastien Bourdeauducq
parent 2651050c83
commit 91336f974d

View File

@ -26,7 +26,7 @@ def main():
if args.device is None: if args.device is None:
lda = Ldasim() lda = Ldasim()
else: else:
lda = Lda(args.serial, args.product) lda = Lda(args.device, args.product)
try: try:
simple_server_loop({"lda": lda}, simple_server_loop({"lda": lda},
args.bind, args.port) args.bind, args.port)