diff options
author | luxagraf <sng@luxagraf.net> | 2021-06-28 15:40:10 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2021-06-28 15:40:10 -0400 |
commit | 03560a9b7e01844d7309618249983f72a49a0563 (patch) | |
tree | 644312d9cfe0e8e9a594142e609700ffa7841f44 /app/links | |
parent | e0b8b7bd64d63b3206b44258fc412c602c2357c7 (diff) |
fixed type error
Diffstat (limited to 'app/links')
-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 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 |