Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
django-panik-newsletter
Commits
8c3a9e86
Commit
8c3a9e86
authored
Jun 12, 2022
by
fred
Browse files
fix typo
parent
f161c24d
Changes
1
Hide whitespace changes
Inline
Side-by-side
newsletter/models.py
View file @
8c3a9e86
...
...
@@ -63,7 +63,7 @@ class Subscriber(models.Model):
def
subscribe_in_mailman
(
self
):
try
:
subprocess
.
run
([
'listadmin'
,
'--add-member'
,
self
.
email
,
settings
.
NEWSLETTER_NAME
],
checkTrue
)
subprocess
.
run
([
'listadmin'
,
'--add-member'
,
self
.
email
,
settings
.
NEWSLETTER_NAME
],
check
=
True
)
except
subprocess
.
CalledProcessError
:
# maybe an error because email is already registered?
result
=
subprocess
.
run
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment