aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/forms.py
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2020-04-17 21:22:48 +0000
committerbnewbold <bnewbold@archive.org>2020-04-17 21:22:48 +0000
commite749b576bdb9bbec3bcef7e4e389e7fbbf916c84 (patch)
treea0d9ac76ddb08db9e224272e60a41f26d27d2257 /python/fatcat_web/forms.py
parent963faf6cf6e7e5c6685ffe89e080134c7590957f (diff)
parentbbe37c06a3d6c213823258f054d10eaf0814da8f (diff)
downloadfatcat-e749b576bdb9bbec3bcef7e4e389e7fbbf916c84.tar.gz
fatcat-e749b576bdb9bbec3bcef7e4e389e7fbbf916c84.zip
Merge branch 'bnewbold-py37-cleanups' into 'master'
py37 cleanups See merge request webgroup/fatcat!44
Diffstat (limited to 'python/fatcat_web/forms.py')
-rw-r--r--python/fatcat_web/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/forms.py b/python/fatcat_web/forms.py
index dd322cff..377e35aa 100644
--- a/python/fatcat_web/forms.py
+++ b/python/fatcat_web/forms.py
@@ -91,7 +91,7 @@ class ReleaseEntityForm(EntityEditForm):
[validators.Optional(True)])
#release_year
doi = StringField('DOI',
- [validators.Regexp('^10\..*\/.*', message="DOI must be valid"),
+ [validators.Regexp(r'^10\..*\/.*', message="DOI must be valid"),
validators.Optional(True)])
wikidata_qid = StringField('Wikidata QID')
isbn13 = StringField('ISBN-13')