mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-14 12:00:14 -04:00
Fix typo in string formatting for gpu mem stats in curses (#983)
This commit is contained in:
committed by
Alessio Sergi
parent
ff14d3349c
commit
b80a7515f1
@@ -154,7 +154,7 @@ class Plugin(GlancesPlugin):
|
||||
if gpu_stats['mem'] is None:
|
||||
msg = '{:>8}'.format('N/A')
|
||||
else:
|
||||
msg = '{:>7d%}'.format(int(gpu_stats['mem']))
|
||||
msg = '{:>7d}%'.format(int(gpu_stats['mem']))
|
||||
ret.append(self.curse_add_line(
|
||||
msg, self.get_views(item=gpu_stats[self.get_key()],
|
||||
key='mem',
|
||||
|
||||
Reference in New Issue
Block a user