add [ and ] to mapped strings and advanced filters

This commit is contained in:
Bjoern Gruening
2013-10-25 10:34:28 +02:00
parent 49f49275c9
commit b172b602ad
+2
View File
@@ -48,6 +48,8 @@ mapped_str = {
'__ge__': '>=',
'__sq__': '\'',
'__dq__': '"',
'__ob__': '[',
'__cb__': ']',
}
for key, value in mapped_str.items():
cond_text = cond_text.replace( key, value )