Improve logging
This commit is contained in:
parent
ef9cc51750
commit
d09e5eae4a
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
|
@ -25,7 +25,8 @@ class BringPlugin:
|
||||||
async def grabItems(self):
|
async def grabItems(self):
|
||||||
itemObjs = (await self.bring.get_list(self.list)).items.purchase
|
itemObjs = (await self.bring.get_list(self.list)).items.purchase
|
||||||
items = [item.itemId for item in itemObjs]
|
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
|
return items
|
||||||
|
|
||||||
async def sendItemsToTerminal(self, session, items):
|
async def sendItemsToTerminal(self, session, items):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue