1
0
mirror of https://github.com/mjg59/python-broadlink.git synced 2024-11-22 15:10:12 +01:00

Remove trailing semicolons

This commit is contained in:
Faustino Aguilar 2018-07-14 19:01:49 -05:00 committed by GitHub
parent db4d1a218b
commit 71fbb2bcde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ def parse_durations(str):
return result return result
parser = argparse.ArgumentParser(fromfile_prefix_chars='@'); parser = argparse.ArgumentParser(fromfile_prefix_chars='@')
parser.add_argument("--device", help="device definition as 'type host mac'") parser.add_argument("--device", help="device definition as 'type host mac'")
parser.add_argument("--type", type=auto_int, default=0x2712, help="type of device") parser.add_argument("--type", type=auto_int, default=0x2712, help="type of device")
parser.add_argument("--host", help="host address") parser.add_argument("--host", help="host address")
@ -86,7 +86,7 @@ parser.add_argument("data", nargs='*', help="Data to send or convert")
args = parser.parse_args() args = parser.parse_args()
if args.device: if args.device:
values = args.device.split(); values = args.device.split()
type = int(values[0],0) type = int(values[0],0)
host = values[1] host = values[1]
mac = bytearray.fromhex(values[2]) mac = bytearray.fromhex(values[2])