1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00
This commit is contained in:
Thorsten
2016-01-03 13:28:30 +01:00
parent 25a61fe090
commit ef7e0df923

View File

@@ -106,7 +106,7 @@ def event_trigger():
@pluginfunction('help', 'print help for a command or all known commands', ptypes_COMMAND)
def command_help(argv, **args):
what = argv[1] if len(argv) > 1 else None
what = argv[0] if argv else None
logger = logging.getLogger(__name__)
if not what: