Small python 3 compatibility correction (#15151)
This commit is contained in:
parent
8705371ef0
commit
bd06a5b0ee
@ -178,7 +178,7 @@ def create_variant(item, args):
|
||||
@frappe.whitelist()
|
||||
def enqueue_multiple_variant_creation(item, args):
|
||||
# There can be innumerable attribute combinations, enqueue
|
||||
if isinstance(args, frappe.string_types):
|
||||
if isinstance(args, string_types):
|
||||
variants = json.loads(args)
|
||||
total_variants = 1
|
||||
for key in variants:
|
||||
|
Loading…
x
Reference in New Issue
Block a user