From 7ce1f631830bc114823191379486ee37bd6f45ee Mon Sep 17 00:00:00 2001 From: BlipRanger Date: Thu, 10 Dec 2020 12:44:38 -0500 Subject: [PATCH] Update archivebox/core/forms.py Format cleanup Co-authored-by: Nick Sweeting --- archivebox/core/forms.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/archivebox/core/forms.py b/archivebox/core/forms.py index 4905464d..14893d96 100644 --- a/archivebox/core/forms.py +++ b/archivebox/core/forms.py @@ -28,11 +28,11 @@ ARCHIVE_METHODS = [ class AddLinkForm(forms.Form): url = forms.RegexField(label="URLs (one per line)", regex=URL_REGEX, min_length='6', strip=True, widget=forms.Textarea, required=True) depth = forms.ChoiceField(label="Archive depth", choices=CHOICES, widget=forms.RadioSelect, initial='0') - archiveMethods = forms.MultipleChoiceField( - required=False, - widget=forms.SelectMultiple, - choices=ARCHIVE_METHODS,) - + archive_methods = forms.MultipleChoiceField( + required=False, + widget=forms.SelectMultiple, + choices=ARCHIVE_METHODS, + ) class TagWidgetMixin: def format_value(self, value): if value is not None and not isinstance(value, str):