Minor fix in OAI-PMH.
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Tue, 4 Aug 2015 08:28:53 +0000 (10:28 +0200)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Tue, 4 Aug 2015 08:28:53 +0000 (10:28 +0200)
apps/oai/handlers.py

index 197ca79..d9699f9 100644 (file)
@@ -110,7 +110,7 @@ class Catalogue(common.ResumptionOAIPMH):
     def identify(self, **kw):
         ident = common.Identify(
             'Wolne Lektury',  # generate
     def identify(self, **kw):
         ident = common.Identify(
             'Wolne Lektury',  # generate
-            '%s/oaipmh' % WL_BASE,  # generate
+            '%s/oaipmh' % unicode(WL_BASE),  # generate
             '2.0',  # version
             [m[1] for m in settings.MANAGERS],  # adminEmails
             make_time_naive(self.earliest_datestamp),  # earliest datestamp of any change
             '2.0',  # version
             [m[1] for m in settings.MANAGERS],  # adminEmails
             make_time_naive(self.earliest_datestamp),  # earliest datestamp of any change