about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Høyer Iversen <mail@dahoiv.net>2018-07-15T07·35+0200
committerGitHub <noreply@github.com>2018-07-15T07·35+0200
commite5ab802361bb1b4f2d5c425ad04180939b34c5da (patch)
tree2eff32cc2c269c9e5699d11a0672a0026e3a1a5f
parentdb4d1a218b5f29716bdb399a2ec11e5c4cbef15e (diff)
parent71fbb2bcdec24f05360b1aa2967d676f313d6ba4 (diff)
Merge pull request #199 from faustinoaq/patch-1
Remove trailing semicolons
-rwxr-xr-xcli/broadlink_cli4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/broadlink_cli b/cli/broadlink_cli
index 4b0e81f67efd..54f02a0787ba 100755
--- a/cli/broadlink_cli
+++ b/cli/broadlink_cli
@@ -62,7 +62,7 @@ def parse_durations(str):
     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("--type", type=auto_int, default=0x2712, help="type of device")
 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()
 
 if args.device:
-    values = args.device.split();
+    values = args.device.split()
     type = int(values[0],0)
     host = values[1]
     mac = bytearray.fromhex(values[2])