mirror of https://github.com/nicolargo/glances.git
Correct typo
This commit is contained in:
parent
d24fff53a6
commit
25efd90924
3
Makefile
3
Makefile
|
|
@ -191,6 +191,9 @@ run-client: ## Start Glances in client mode (RPC)
|
|||
run-browser: ## Start Glances in browser mode (RPC)
|
||||
./venv/bin/python -m glances -C ./conf/glances.conf --browser
|
||||
|
||||
run-issue: ## Start Glances in issue mode
|
||||
./venv/bin/python -m glances -C ./conf/glances.conf --issue
|
||||
|
||||
show-version: ## Show Glances version number
|
||||
./venv/bin/python -m glances -C ./conf/glances.conf -V
|
||||
|
||||
|
|
|
|||
|
|
@ -113,14 +113,14 @@ class GlancesStdoutIssue(object):
|
|||
)
|
||||
if isinstance(stat, list) and len(stat) > 0 and 'key' in stat[0]:
|
||||
key = 'key={} '.format(stat[0]['key'])
|
||||
message = colors.ORANGE + key + colors.NO + str(stat)[0 : TERMINAL_WIDTH - 41 - len(key)]
|
||||
message = colors.ORANGE + key + colors.NO + str(stat)[0: TERMINAL_WIDTH - 41 - len(key)]
|
||||
else:
|
||||
message = colors.NO + str(stat)[0 : TERMINAL_WIDTH - 41]
|
||||
message = colors.NO + str(stat)[0: TERMINAL_WIDTH - 41]
|
||||
else:
|
||||
result = (colors.RED + '[ERROR]' + colors.BLUE + ' {:.5f}s '.format(counter.get())).rjust(
|
||||
41 - len(plugin)
|
||||
)
|
||||
message = colors.NO + str(stat_error)[0 : TERMINAL_WIDTH - 41]
|
||||
message = colors.NO + str(stat_error)[0: TERMINAL_WIDTH - 41]
|
||||
self.print_issue(plugin, result, message)
|
||||
|
||||
# Display total time need to update all plugins
|
||||
|
|
|
|||
Loading…
Reference in New Issue