Skip to content

Commit

Permalink
Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
chillymosh committed Jan 10, 2025
1 parent 6dfebb7 commit bfff39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitchio/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def build_url(self, *, remove_none: bool = True, duplicate_key: bool = True) ->
continue

if isinstance(value, (str, int)):
url += f'{key}={self.encode(str(value), safe="+", plus=True)}&'
url += f"{key}={self.encode(str(value), safe='+', plus=True)}&"
elif duplicate_key:
for v in value:
url += f"{key}={self.encode(str(v), safe='+', plus=True)}&"
Expand Down

0 comments on commit bfff39e

Please sign in to comment.