Update orm.py

pull/632/head
Mr Chen 5 months ago
parent a0c228e352
commit 9d05edf09f
  1. 1
      web/core/orm.py

@ -122,6 +122,7 @@ class ORM:
def find(self, sql):
d = self.query(sql)
if d is not None:
if len(d) > 0:
return d[0]
return None

Loading…
Cancel
Save