Fix for an Issue #259

This commit is contained in:
Miroslav Stampar 2012-11-27 11:45:22 +01:00
parent bd33128085
commit d490ffb163

View File

@ -232,7 +232,7 @@ class Agent:
payload = payload.replace(_, randomStr())
if origValue is not None:
payload = payload.replace("[ORIGVALUE]", origValue)
payload = payload.replace("[ORIGVALUE]", origValue if origValue.isdigit() else "'%s'" % origValue)
if "[INFERENCE]" in payload:
if Backend.getIdentifiedDbms() is not None: