diff options
author | 2019-07-10 04:16:25 +0100 | |
---|---|---|
committer | 2019-07-10 04:16:25 +0100 | |
commit | dce0678b6d19fd210a5862b503ae9dcc7b894410 (patch) | |
tree | 3dec1435c12bdada903585719ff8b9abc3c1faa7 /pydis_site/apps/api/views.py | |
parent | Teach new lint rules to old code (diff) |
Give a code a lint
Diffstat (limited to 'pydis_site/apps/api/views.py')
-rw-r--r-- | pydis_site/apps/api/views.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pydis_site/apps/api/views.py b/pydis_site/apps/api/views.py index c7dbf5c8..e79de5e1 100644 --- a/pydis_site/apps/api/views.py +++ b/pydis_site/apps/api/views.py @@ -86,7 +86,6 @@ class RulesView(APIView): ValueError: If `target` is not `'md'` or `'html'`. """ - if target == 'html': return f'<a href="{link}">{description}</a>' elif target == 'md': |