flask.py: drop now-removed map.charset field
This commit is contained in:
parent
8c9fb045f0
commit
1258f0e418
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue