aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd/skate-wikipedia-doi/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'skate/cmd/skate-wikipedia-doi/main.go')
-rw-r--r--skate/cmd/skate-wikipedia-doi/main.go2
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)