From 1061eda096975a47859f1aeca2912af069b6f330 Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 25 Apr 2019 23:45:39 -0300 Subject: [PATCH] embed.sanizier: quickfix for proxify() --- litecord/embed/sanitizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/embed/sanitizer.py b/litecord/embed/sanitizer.py index 027e4ea..bc9f761 100644 --- a/litecord/embed/sanitizer.py +++ b/litecord/embed/sanitizer.py @@ -106,7 +106,7 @@ def _make_md_req_url(config, scope: str, url): def proxify(url, *, config=None) -> str: """Return a mediaproxy url for the given EmbedURL. Returns an /img/ scope.""" - config, _sess = _mk_cfg_sess(config, None) + config, _sess = _mk_cfg_sess(config, False) if isinstance(url, str): url = EmbedURL(url)