docs: fix simple typo, optionnal -> optional

There is a small typo in glances/static_list.py.

Should read `optional` rather than `optionnal`.
This commit is contained in:
Tim Gates
2020-12-22 08:15:43 +11:00
parent 042a5cd235
commit a6dbea1e25

View File

@@ -54,7 +54,7 @@ class GlancesStaticServer(object):
for s in ['name', 'port', 'alias']:
new_server[s] = config.get_value(self._section, '%s%s' % (postfix, s))
if new_server['name'] is not None:
# Manage optionnal information
# Manage optional information
if new_server['port'] is None:
new_server['port'] = '61209'
new_server['username'] = 'glances'