Made Core.Commands.Get/get_inputfuncs work.

This commit is contained in:
Griatch 2016-04-06 17:17:25 +02:00
parent a1c89d615e
commit 39e3618ae5
2 changed files with 3 additions and 3 deletions

View file

@ -191,7 +191,8 @@ def get_inputfuncs(session, *args, **kwargs):
it from this module alone since multiple modules could be added.
So we get it from the sessionhandler.
"""
inputfuncsdict = dict((key, func.__doc__) for key, func in session.sessionhandler.get_inputfuncs().iterkeys())
inputfuncsdict = dict((key, func.__doc__) for key, func
in session.sessionhandler.get_inputfuncs().iteritems())
session.msg(get_inputfuncs=inputfuncsdict)