add_history_entry, use attributes instead of skuid
This commit is contained in:
parent
bad3edfa0e
commit
afdaa49f19
@ -55,8 +55,8 @@ def add_history_entry(itemid, skuid, choice, attributes, image, price, currency,
|
|||||||
SELECT uuid
|
SELECT uuid
|
||||||
FROM item
|
FROM item
|
||||||
WHERE itemid = %s
|
WHERE itemid = %s
|
||||||
AND skuid = %s
|
AND attributes = %s
|
||||||
""", (itemid, skuid))
|
""", (itemid, formatted_attributes))
|
||||||
|
|
||||||
uuid = cursor.fetchall()[0]
|
uuid = cursor.fetchall()[0]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user