From c2c0421207694aa5eb148f05a57440716ae2dc8d Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 28 Jun 2021 15:43:45 -0400 Subject: fixed another type error --- app/links/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/links') diff --git a/app/links/models.py b/app/links/models.py index bc7973c..25bc28a 100644 --- a/app/links/models.py +++ b/app/links/models.py @@ -42,7 +42,7 @@ def get_source(source): r = requests.get(url, timeout=15.001) data = r.json() except: - data = ['markdown': 'error getting markdown'] + data = {'markdown':'error getting markdown'} return data -- cgit v1.2.3-70-g09d2