Skip to content

Commit

Permalink
refactor: update quick example in README example
Browse files Browse the repository at this point in the history
  • Loading branch information
staciax committed Dec 31, 2024
1 parent 9697f84 commit de898c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ import valorant


async def main() -> None:
client = valorant.Client()

async with client:
async with valorant.Client():
weapons = await client.fetch_weapons()
for weapon in weapons:
print(weapon.display_name)
Expand Down

0 comments on commit de898c5

Please sign in to comment.