description % should not be escaped, reverting

This commit is contained in:
mdipierro committed 2019-05-25 01:01:32 -07:00
1 parent 1c5b2d7fce
commit ce25d8dc31
2 files changed
-2

No files matched your search

-1
View File
@@ -444,7 +444,6 @@ class AuthAPI(object):
if type(description).__name__ == 'lazyT':
description = description.m
if not user_id or self.table_user()[user_id]:
description = description.replace('%', '%%')
self.table_event().insert(
description=str(description % vars), origin=origin, user_id=user_id)
-1
View File
@@ -1,3 +1,2 @@
from pydal.validators import *
from pydal.validators import simple_hash, get_digest, Validator, ValidationError, translate, __all__