mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
Small python 3 compatibility correction (#15151)
This commit is contained in:
committed by
Nabin Hait
parent
8705371ef0
commit
bd06a5b0ee
@@ -178,7 +178,7 @@ def create_variant(item, args):
|
|||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def enqueue_multiple_variant_creation(item, args):
|
def enqueue_multiple_variant_creation(item, args):
|
||||||
# There can be innumerable attribute combinations, enqueue
|
# There can be innumerable attribute combinations, enqueue
|
||||||
if isinstance(args, frappe.string_types):
|
if isinstance(args, string_types):
|
||||||
variants = json.loads(args)
|
variants = json.loads(args)
|
||||||
total_variants = 1
|
total_variants = 1
|
||||||
for key in variants:
|
for key in variants:
|
||||||
|
|||||||
Reference in New Issue
Block a user