diff --git a/transmission-remote-cli.py b/transmission-remote-cli.py index fe603e4..b00fd07 100755 --- a/transmission-remote-cli.py +++ b/transmission-remote-cli.py @@ -1510,6 +1510,10 @@ def draw_torrentlist_item(self, torrent, focused, compact, y): return 3 # number of lines that were used for drawing the list item else: + # Draw ratio in place of upload rate if upload rate = 0 + if not torrent['rateUpload']: + self.draw_ratio(torrent, y - 1) + return 1 def draw_downloadrate(self, torrent, ypos):