summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/client.py')
-rwxr-xr-xredis/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index f024142..15ec190 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -2962,7 +2962,7 @@ class Monitor(object):
m = self.monitor_re.match(command_data)
db_id, client_address, client_port, command = m.groups()
command = ' '.join(self.command_re.findall(command))
- command = command.replace('\\"', '"')
+ command = command.replace('\\"', '"').replace('\\\\', '\\')
return {
'time': float(command_time),
'db': int(db_id),