]> us-delaporte.pagekite.me Git - matrix-shop-bot.git/blobdiff - matrix_shop_bot/tasks.py
Shop at now uses a case insensitive string
[matrix-shop-bot.git] / matrix_shop_bot / tasks.py
index 52484a0c58378cc1a09247b3696c953c32c1880d..6b999bfb192720fa4814f2568c80bd893468d92d 100644 (file)
@@ -55,12 +55,12 @@ def clear_list(c, store_id):
 
 
 @task
-def list_for_store(c, store_id):
-    items = Data().get_shopping_list_for_store(store_id)
+def at(c, store_name):
+    '''Select store to shop at'''
+    items = Data().get_shopping_list(store_name)
     for item in items:
         print(item)
 
-
 @task
 def list(c):
     '''Use previous store'''