mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 06:28:29 +00:00
fixed iteritems
This commit is contained in:
@@ -21,7 +21,7 @@ from six import iteritems
|
||||
|
||||
def get_sle(**args):
|
||||
condition, values = "", []
|
||||
for key, value in iteritems(args.iteritems):
|
||||
for key, value in iteritems(args):
|
||||
condition += " and " if condition else " where "
|
||||
condition += "`{0}`=%s".format(key)
|
||||
values.append(value)
|
||||
|
||||
Reference in New Issue
Block a user