diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-03 15:23:13 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-03 15:23:13 +0100 |
commit | 0dd08fc44c2c2c5c3ad7001c8dd1b63b4153a503 (patch) | |
tree | e56087af1ba34d7bd587e02ce276868241140584 | |
parent | cbf335a560092a1314fba50cbbfafb8db8c65866 (diff) | |
parent | 6dfa49c0958a784ed86c5055f2a7b7c1fb0573cc (diff) | |
download | transmission-remote-cli-0dd08fc44c2c2c5c3ad7001c8dd1b63b4153a503.tar.gz |
Merge tag 'upstream/1.2.2'
Upstream version 1.2.2
Diffstat (limited to '')
-rw-r--r-- | NEWS | 5 | ||||
-rwxr-xr-x | transmission-remote-cli.py | 8 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,8 @@ +1.2.2 2012-05-02 + BUGFIXES: + - Handle escape key correctly in Turtle Mode speed limit dialogs + + 1.2.1 2012-04-29 BUGFIXES: - Fix crash when enabling compact mode while focusing torrent at diff --git a/transmission-remote-cli.py b/transmission-remote-cli.py index 948d966..ff7a487 100755 --- a/transmission-remote-cli.py +++ b/transmission-remote-cli.py @@ -16,7 +16,7 @@ # http://www.gnu.org/licenses/gpl-3.0.txt # ######################################################################## -VERSION = '1.2.1' +VERSION = '1.2.2' TRNSM_VERSION_MIN = '1.90' TRNSM_VERSION_MAX = '2.51' @@ -2732,12 +2732,14 @@ class Interface: limit = self.dialog_input_number('Upload limit for Turtle Mode in kilobytes per second', self.stats['alt-speed-up'], allow_negative_one=False) - server.set_option('alt-speed-up', limit) + if limit != -128: + server.set_option('alt-speed-up', limit) elif c == ord('r'): limit = self.dialog_input_number('Download limit for Turtle Mode in kilobytes per second', self.stats['alt-speed-down'], allow_negative_one=False) - server.set_option('alt-speed-down', limit) + if limit != -128: + server.set_option('alt-speed-down', limit) elif c == ord('b'): self.torrentname_is_progressbar = not self.torrentname_is_progressbar |