1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-10 10:04:21 +01:00

make color disabling work

This commit is contained in:
Viktor Stanchev 2015-09-20 14:44:52 -07:00
parent c0259eb435
commit 0285351230

View File

@ -85,7 +85,7 @@ class Printer:
content = [n, no_seeders, no_leechers, '{:.1f}'.format(ratio), content = [n, no_seeders, no_leechers, '{:.1f}'.format(ratio),
'{:.1f}'.format(size), unit, date, torrent_name[:columns - 53]] '{:.1f}'.format(size), unit, date, torrent_name[:columns - 53]]
if even: if even or not self.enable_color:
table.add_row(content) table.add_row(content)
else: else:
table.add_row(content, fore_color='blue') table.add_row(content, fore_color='blue')