DoiBoost AccessRigh #4362 - Unpaywall mapped to OAF with OPEN instance (non oa are filtered out) (unknown hostedby) + map the color as it is
This commit is contained in:
parent
f4f7c6f9d3
commit
09ad7b2a9e
|
@ -26,7 +26,7 @@ object UnpayWallToOAF {
|
|||
|
||||
|
||||
def get_unpaywall_color(input:String):Option[OpenAccessRoute] = {
|
||||
if(input.equalsIgnoreCase("close"))
|
||||
if(input == null || input.equalsIgnoreCase("close"))
|
||||
return None
|
||||
if(input.equalsIgnoreCase("green"))
|
||||
return Some(OpenAccessRoute.green)
|
||||
|
|
Loading…
Reference in New Issue