Made basic telnet work again.

This commit is contained in:
Griatch 2016-02-10 19:06:26 +01:00
parent 96ace8c75f
commit c511263f63
4 changed files with 5 additions and 5 deletions

View file

@ -355,8 +355,7 @@ class ServerSession(Session):
text, args = text[0], list(text[1:])
else:
text, args = text, []
print("kwargs", kwargs, kwargs.get("options", {}))
options = kwargs.get("options", [None, {}])[1]
options = kwargs.get("options", None) or {}
raw = options.get("raw", False)
strip_inlinefunc = options.get("strip_inlinefunc", False)
if _INLINEFUNC_ENABLED and not raw: