X-Git-Url: https://apps.delaporte.us/gitweb/matrix-shop-bot.git/blobdiff_plain/fdcabcf10a4e2b3f66c17a306db023868d24fb4f..b5084f95ee29f95ec54ed2308c61261b9fd3c91a:/matrix_shop_bot/db.py?ds=sidebyside diff --git a/matrix_shop_bot/db.py b/matrix_shop_bot/db.py index 367cbcf..39de7ef 100644 --- a/matrix_shop_bot/db.py +++ b/matrix_shop_bot/db.py @@ -56,7 +56,7 @@ def _get_item_zone(item_name, session) -> str: return 'No Zone Assigned' def _get_pretty_shopping_list(store_id, session) -> List[str]: - store = _get_with_id(Store, store_id) + store = session.exec(_get_with_id(Store, store_id)).first() results = [] results.append(f' ## {store.name}') items = store.shopping_list