diff options
author | luxagraf <sng@luxagraf.net> | 2021-06-28 15:43:45 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2021-06-28 15:43:45 -0400 |
commit | c2c0421207694aa5eb148f05a57440716ae2dc8d (patch) | |
tree | 97654c37d5039087b8ebc72c133a62a8e9d36740 /app | |
parent | 03560a9b7e01844d7309618249983f72a49a0563 (diff) |
fixed another type error
Diffstat (limited to 'app')
-rw-r--r-- | app/links/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |