summaryrefslogtreecommitdiff
path: root/app/links
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2021-06-28 15:40:10 -0400
committerluxagraf <sng@luxagraf.net>2021-06-28 15:40:10 -0400
commit03560a9b7e01844d7309618249983f72a49a0563 (patch)
tree644312d9cfe0e8e9a594142e609700ffa7841f44 /app/links
parente0b8b7bd64d63b3206b44258fc412c602c2357c7 (diff)
fixed type error
Diffstat (limited to 'app/links')
-rw-r--r--app/links/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/links/models.py b/app/links/models.py
index d7e04c4..bc7973c 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 = ""
+ data = ['markdown': 'error getting markdown']
return data