diff options
-rw-r--r-- | app/links/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/links/models.py b/app/links/models.py index 89e2dfc..c1bd74e 100644 --- a/app/links/models.py +++ b/app/links/models.py @@ -29,6 +29,8 @@ def email_link(link): 'sng@luxagraf.net', ['sng@luxagraf.net'] ) + if link.tags.first().name = "wired" + link.delete() def get_upload_path(self, filename): |