]> us-delaporte.pagekite.me Git - matrix-shop-bot.git/commitdiff
Fixup
authorEdward Delaporte <edward@delaporte.us>
Thu, 9 Apr 2026 21:49:34 +0000 (16:49 -0500)
committerEdward Delaporte <edward@delaporte.us>
Thu, 9 Apr 2026 21:49:34 +0000 (16:49 -0500)
matrix_shop_bot/bot.py

index 4e766036820c13ffe6eb7cbf1f78e381e9793b66..037de7fdcb461d6dc5b09a8ad536ec89272d00e8 100644 (file)
@@ -109,7 +109,7 @@ async def do_shop(match):
 
 
     if match.command('at'):
-        store_name = ' '.join(match.args()[1])
+        store_name = ' '.join(match.args()[1:])
         items = Data().get_shopping_list(store_name)
         results = ['Shopping List']
         for item in items: