commit | 876801a5c65e097b31b6824e055a0e99bcdc595e | [log] [tgz] |
---|---|---|
author | Chris Liechti <cliechti@gmx.net> | Fri Aug 21 23:15:45 2015 +0200 |
committer | Chris Liechti <cliechti@gmx.net> | Fri Aug 21 23:15:45 2015 +0200 |
tree | 6d812e5758381f07ee0c4621a91b700aa16cb0cb | |
parent | d14b1ab6ecdf39020c7a2f6a1efee1c21254d176 [diff] [blame] |
spy: rename parameter dev -> file
diff --git a/serial/urlhandler/protocol_spy.py b/serial/urlhandler/protocol_spy.py index d6ed458..c06d9c0 100644 --- a/serial/urlhandler/protocol_spy.py +++ b/serial/urlhandler/protocol_spy.py
@@ -167,7 +167,7 @@ output = sys.stderr try: for option, values in urlparse.parse_qs(parts.query, True).items(): - if option == 'dev': + if option == 'file': output = open(values[0], 'w') elif option == 'color': color = True