This commit is contained in:
Miroslav Stampar 2015-06-29 00:20:35 +02:00
parent b212321c07
commit 97244f5e5e

View File

@ -217,6 +217,9 @@ class Agent(object):
if conf.direct:
return self.payloadDirect(expression)
if expression is None:
return None
expression = self.cleanupPayload(expression)
expression = unescaper.escape(expression)
query = None
@ -258,6 +261,9 @@ class Agent(object):
if conf.direct:
return self.payloadDirect(expression)
if expression is None:
return None
expression = self.cleanupPayload(expression)
# Take default values if None