Fixes syntax problem on http raises
This commit is contained in:
parent
84443c7f81
commit
e6ae500569
8 changed files with 10 additions and 11 deletions
|
@ -228,7 +228,7 @@ class ExpiryWidget(widgets.Select):
|
|||
elif selected_string == "forever":
|
||||
return None
|
||||
else:
|
||||
return selected_string # "This will raise
|
||||
return selected_string # This will raise
|
||||
|
||||
return timezone.now() + interval
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue