return immutable

This commit is contained in:
Achilles Rasquinha 2018-03-29 11:14:52 +05:30
parent 062c7fa283
commit d4afe75e7e

View file

@ -567,7 +567,7 @@ class Database:
batch.append(tuple([field, value]))
return batch
return tuple(batch)
def get_singles_dict(self, doctype, debug = False):
"""Get Single DocType as dict.