embed.sanizier: quickfix for proxify()

This commit is contained in:
Luna 2019-04-25 23:45:39 -03:00
parent 0631f007c1
commit 1061eda096
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ def _make_md_req_url(config, scope: str, url):
def proxify(url, *, config=None) -> str: def proxify(url, *, config=None) -> str:
"""Return a mediaproxy url for the given EmbedURL. Returns an """Return a mediaproxy url for the given EmbedURL. Returns an
/img/ scope.""" /img/ scope."""
config, _sess = _mk_cfg_sess(config, None) config, _sess = _mk_cfg_sess(config, False)
if isinstance(url, str): if isinstance(url, str):
url = EmbedURL(url) url = EmbedURL(url)