From d490ffb163da306cc146b16353e4fc5e8ef36ac5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 27 Nov 2012 11:45:22 +0100 Subject: [PATCH] Fix for an Issue #259 --- lib/core/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/agent.py b/lib/core/agent.py index 9b6e3b4fe..a3c6355d7 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -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: