Skip to content

Commit

Permalink
Remove some debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
notsniped authored Nov 5, 2023
1 parent 47c9d40 commit c54fda5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions framework/isobot/db/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,5 @@ def remove_item(self, user_id: int, item: str, *, quantity: int = 1) -> int:

def fetch_item_count(self, user_id: int, item: str) -> int:
"""Fetches and returns the amount of a specific item owned by the user."""
try:
items = self.load()
#print(items[str(user_id)])
return items[str(user_id)][item]
except Exception as e: print(e)
items = self.load()
return items[str(user_id)][item]

0 comments on commit c54fda5

Please sign in to comment.