From d330ddde87953cb0a67d0d0db330f7f8b767b126 Mon Sep 17 00:00:00 2001 From: Jean-Romain Garnier Date: Sun, 3 May 2020 00:39:45 +0200 Subject: [PATCH] Fix error in format string --- logs/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs/models.py b/logs/models.py index 758d434d..3d50988d 100644 --- a/logs/models.py +++ b/logs/models.py @@ -59,7 +59,7 @@ def make_version_filter(key, value): return ( Q(serialized_data__contains='\"{}\": {},'.format(key, formatted_value)) - | Q(serialized_data__contains='\"{}\": {}}'.format(key, formatted_value)) + | Q(serialized_data__contains='\"{}\": {}}}'.format(key, formatted_value)) )