未验证 提交 c24c1ca5 编写于 作者: N Nicolas Hennion 提交者: GitHub

Merge pull request #1774 from timgates42/bugfix_typo_optional

docs: fix simple typo, optionnal -> optional
...@@ -54,7 +54,7 @@ class GlancesStaticServer(object): ...@@ -54,7 +54,7 @@ class GlancesStaticServer(object):
for s in ['name', 'port', 'alias']: for s in ['name', 'port', 'alias']:
new_server[s] = config.get_value(self._section, '%s%s' % (postfix, s)) new_server[s] = config.get_value(self._section, '%s%s' % (postfix, s))
if new_server['name'] is not None: if new_server['name'] is not None:
# Manage optionnal information # Manage optional information
if new_server['port'] is None: if new_server['port'] is None:
new_server['port'] = '61209' new_server['port'] = '61209'
new_server['username'] = 'glances' new_server['username'] = 'glances'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册