]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/sitemap.py
Prevents empty digests from being sent.
[osqa.git] / forum / sitemap.py
index d2d79308e48b953af87b1ee2f4210163a83f7805..27528a0a16dd4fc1b65a4b2503dd108c44fa1bec 100644 (file)
@@ -26,7 +26,7 @@ class QuestionsSitemap(Sitemap):
     def get_urls(self, page=1):
         urls = []
         for item in self.paginator.page(page).object_list:
-            loc = "http://%s%s" % (settings.APP_URL, self.__get('location', item))
+            loc = "%s%s" % (settings.APP_URL, self.__get('location', item))
             url_info = {
                 'location':   loc,
                 'lastmod':    self.__get('lastmod', item, None),