Ticket #3387: correction.diff

File correction.diff, 216 bytes (added by Gacha, 18 years ago)
Line 
125c25
2< prep_for_like_query = lambda x: str(x).replace("\\", "\\\\").replace("%", "\%").replace("_", "\_")
3---
4> prep_for_like_query = lambda x: unicode(x).replace("\\", "\\\\").replace("%", "\%").replace("_", "\_")
Back to Top