diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-07-09 21:55:51 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-07-09 21:55:51 +0200 |
commit | 3bdd800375c5dc0cafa11b689867f04f242a22e6 (patch) | |
tree | 4cee71639a057230ef98709ed7fe2b61e7448c0b /skate/cmd/skate-wikipedia-doi | |
parent | dd39ba1bd24f64b8bc65c075d9f1f095304a4d29 (diff) | |
download | refcat-3bdd800375c5dc0cafa11b689867f04f242a22e6.tar.gz refcat-3bdd800375c5dc0cafa11b689867f04f242a22e6.zip |
wiki: cleanup redundant check
Diffstat (limited to 'skate/cmd/skate-wikipedia-doi')
-rw-r--r-- | skate/cmd/skate-wikipedia-doi/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/cmd/skate-wikipedia-doi/main.go b/skate/cmd/skate-wikipedia-doi/main.go index 829352b..a6d82c0 100644 --- a/skate/cmd/skate-wikipedia-doi/main.go +++ b/skate/cmd/skate-wikipedia-doi/main.go @@ -31,7 +31,7 @@ func main() { return nil, err } ids := w.ParseIDList() - if ids.DOI == "" || !skate.PatDOI.MatchString(ids.DOI) { + if ids.DOI == "" { return nil, nil } match := patDOI.FindStringSubmatch(ids.DOI) |