From 5511925ba20ff75bd0833de45d9dae1655b010bd Mon Sep 17 00:00:00 2001 From: Zaroz Date: Wed, 3 Mar 2021 21:18:08 -0600 Subject: [PATCH] Removed elif "url" identifier format type Removed elif "url" identifier format type, since else output is identical --- cps/db.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cps/db.py b/cps/db.py index def43ffe..692b012d 100644 --- a/cps/db.py +++ b/cps/db.py @@ -156,8 +156,6 @@ class Identifiers(Base): return u"https://portal.issn.org/resource/ISSN/{0}".format(self.val) elif format_type == "isfdb": return u"http://www.isfdb.org/cgi-bin/pl.cgi?{0}".format(self.val) - elif format_type == "url": - return u"{0}".format(self.val) else: return u"{0}".format(self.val)