kete: allow 'help' even when not connected

pull/66/head
Peter Hutterer 2018-02-02 08:55:48 +10:00
parent 02e8cf53ce
commit ddef5ea38a
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ class TuhiKeteShell(cmd.Cmd):
def precmd(self, line):
# Restore the logger facility to something sane:
self._log_handler.set_normal_mode()
if self._manager is None and line not in ['EOF', 'exit']:
if self._manager is None and line not in ['EOF', 'exit', 'help']:
print('Not connected to the Tuhi daemon')
return ''
return line