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:
parent
c0259eb435
commit
0285351230
@ -85,7 +85,7 @@ class Printer:
|
||||
content = [n, no_seeders, no_leechers, '{:.1f}'.format(ratio),
|
||||
'{:.1f}'.format(size), unit, date, torrent_name[:columns - 53]]
|
||||
|
||||
if even:
|
||||
if even or not self.enable_color:
|
||||
table.add_row(content)
|
||||
else:
|
||||
table.add_row(content, fore_color='blue')
|
||||
|
Loading…
Reference in New Issue
Block a user