diff options
| author | Chris Liechti <cliechti@gmx.net> | 2015-08-21 23:15:45 +0200 |
|---|---|---|
| committer | Chris Liechti <cliechti@gmx.net> | 2015-08-21 23:15:45 +0200 |
| commit | 876801a5c65e097b31b6824e055a0e99bcdc595e (patch) | |
| tree | 6d812e5758381f07ee0c4621a91b700aa16cb0cb /serial/urlhandler | |
| parent | d14b1ab6ecdf39020c7a2f6a1efee1c21254d176 (diff) | |
| download | pyserial-git-876801a5c65e097b31b6824e055a0e99bcdc595e.tar.gz | |
spy: rename parameter dev -> file
Diffstat (limited to 'serial/urlhandler')
| -rw-r--r-- | serial/urlhandler/protocol_spy.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class Serial(serial.Serial): 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 |
