summaryrefslogtreecommitdiff
path: root/app/links
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-01-08 09:21:58 -0600
committerluxagraf <sng@luxagraf.net>2023-01-08 09:21:58 -0600
commiteb258155a43b3ddcb38da088451135bae4e73b23 (patch)
tree79cec6539ddb3e471755b85c6a5ba519dcb046c1 /app/links
parentb556fad0deaeda984032e0923e209a56fb7aba35 (diff)
links: fixed bug
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 c1bd74e..0c7adfa 100644
--- a/app/links/models.py
+++ b/app/links/models.py
@@ -29,7 +29,7 @@ def email_link(link):
'sng@luxagraf.net',
['sng@luxagraf.net']
)
- if link.tags.first().name = "wired"
+ if link.tags.first().name == "wired":
link.delete()