Commit 22b36f41 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Bug fix in the method record.host.

parent b590d306
......@@ -122,8 +122,8 @@ class Record(dict):
val = self.primary_oai()
if not val:
self.__host = u''
return self.__host
self.__host = None
return u''
match = REG_OAI.match(val)
if match:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment