From d2a9da1490e7e1a6e3d1f66bd94160f2da7346a2 Mon Sep 17 00:00:00 2001 From: aliabd Date: Mon, 15 Feb 2021 11:54:28 -0800 Subject: [PATCH] fixed exception handling for article to readme --- gradio/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradio/utils.py b/gradio/utils.py index 9d089566ad..31a2dc393d 100644 --- a/gradio/utils.py +++ b/gradio/utils.py @@ -66,6 +66,6 @@ def readme_to_html(article): response = requests.get(article) if response.status_code == requests.codes.ok: article = response.text - except requests.exceptions.MissingSchema: + except requests.exceptions.RequestException: pass return article