Improve logging

This commit is contained in:
Yashar Dabiran 2025-02-13 21:25:44 -05:00
parent ef9cc51750
commit d09e5eae4a

View file

@ -25,7 +25,8 @@ class BringPlugin:
async def grabItems(self):
itemObjs = (await self.bring.get_list(self.list)).items.purchase
items = [item.itemId for item in itemObjs]
print(f"Items fetched: {items}")
print(f"Successfully fetched items at {datetime.datetime.now().isoformat()}")
print(f"Items = {items}")
return items
async def sendItemsToTerminal(self, session, items):