Update helpManager.py

This commit is contained in:
chrys 2019-08-19 17:11:49 +02:00 committed by GitHub
parent 7835b145ac
commit 2082c73554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,8 +45,7 @@ class helpManager():
commandDescription = self.env['runtime']['commandManager'].getCommandDescription(command, section = 'commands')
if commandDescription == '':
commandDescription = 'no Description available'
commandShortcut = self.env['runtime']['commandManager'].getShortcutForCommand( command)
commandShortcut = commandShortcut.replace('KEY_',' ')
commandShortcut = self.env['runtime']['commandManager'].getShortcutForCommand(command, formatKeys = True)
commandShortcut = commandShortcut.replace('[','')
commandShortcut = commandShortcut.replace(']','')
commandShortcut = commandShortcut.replace("'",'')