flask.py: drop now-removed map.charset field

This commit is contained in:
Drew DeVault 2024-04-11 13:36:07 +02:00
parent 8c9fb045f0
commit 1258f0e418
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class ModifiedUnicodeConverter(UnicodeConverter):
def to_url(self, value):
if not isinstance(value, str):
value = str(value)
return quote(value, encoding=self.map.charset, safe='/:~^')
return quote(value, safe='/:~^')
class SrhtFlask(Flask):
def __init__(self, site, name,