From de896474216001b50331aa971704151fe64f61e1 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Sun, 16 Jan 2022 20:37:08 -0600 Subject: [PATCH] fix rarity helper --- app/luclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/luclient.py b/app/luclient.py index bb07f8c..9ebc9be 100644 --- a/app/luclient.py +++ b/app/luclient.py @@ -243,7 +243,7 @@ def register_luclient_jinja_helpers(app): def get_lot_rarity(lot_id): render_component_id = query_cdclient( - 'select component_id from ComponentsRegistry where component_type = 2 and id = ?', + 'select component_id from ComponentsRegistry where component_type = 11 and id = ?', [lot_id], one=True )[0]