fixed LazyCrypt and fixed git problem

This commit is contained in:
mdipierro
2015-10-07 13:02:30 -05:00
13 changed files with 83 additions and 47 deletions
+2 -2
View File
@@ -578,9 +578,9 @@ class IS_IN_DB(Validator):
records = self.dbset(table).select(table.ALL, **dd)
self.theset = [str(r[self.kfield]) for r in records]
if isinstance(self.label, str):
self.labels = [self.label % r for r in records]
self.labels = [self.label % r for r in records.render()]
else:
self.labels = [self.label(r) for r in records]
self.labels = [self.label(r) for r in records.render]
def options(self, zero=True):
self.build_set()