This commit is contained in:
Sam
2021-03-08 13:10:15 +00:00
parent 3b28238a62
commit 230cfbe043
3 changed files with 3 additions and 2 deletions

View File

@@ -170,7 +170,9 @@ def migrate_shop_products(url, key, secret, user=None, version="wc/v3"):
history.quantity = counter
history.save()
logging.info(f"Products created: {len(new_products)}")
print(f"Products created: {len(new_products)}")
return new_products