Loading opds_catalog/__pycache__/feeds.cpython-35.pyc −41 B (39.8 KiB) File changed.No diff preview for this file type. View original file View changed file opds_catalog/__pycache__/settings.cpython-35.pyc +3 B (2.92 KiB) File changed.No diff preview for this file type. View original file View changed file opds_catalog/feeds.py +1 −3 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ class opdsFeed(Atom1Feed): #super(opdsFeed, self).add_root_elements(handler) handler.characters("\n") handler.addQuickElement("id", self.feed['id']) handler.addQuickElement('icon', settings.ICON) handler.characters("\n") if self.feed.get('link') is not None: handler.addQuickElement('link', None, {"href":self.feed["link"],"rel":"self","type":"application/atom+xml;profile=opds-catalog;kind=navigation"}) Loading @@ -52,9 +53,6 @@ class opdsFeed(Atom1Feed): if self.feed.get('start_url') is not None: handler.addQuickElement('link', None, {"href":self.feed["start_url"],"rel":"start","type":"application/atom+xml;profile=opds-catalog;kind=navigation"}) handler.characters("\n") if self.feed.get('icon') is not None: handler.addQuickElement('icon', settings.ICON) handler.characters("\n") handler.addQuickElement("title", self.feed['title']) handler.characters("\n") if self.feed.get('subtitle') is not None: Loading opds_catalog/settings.py +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ AUTH = getattr(settings, "SOPDS_AUTH", False) TITLE = getattr(settings, "SOPDS_TITLE", "SimpleOPDS") SUBTITLE = getattr(settings, "SOPDS_SUBTITLE", "SimpleOPDS Catalog by www.sopds.ru. Version %s."%sopds_version) ICON = getattr(settings, "SOPDS_ICONE", "http://sopds.ru/favicon.ico") ICON = getattr(settings, "SOPDS_ICON", "http://www.sopds.ru/favicon.ico") LOGFILE = getattr(settings, "SOPDS_LOGFILE", "scan.log") loglevel = getattr(settings, "SOPDS_LOGLEVEL", "info") Loading Loading
opds_catalog/__pycache__/feeds.cpython-35.pyc −41 B (39.8 KiB) File changed.No diff preview for this file type. View original file View changed file
opds_catalog/__pycache__/settings.cpython-35.pyc +3 B (2.92 KiB) File changed.No diff preview for this file type. View original file View changed file
opds_catalog/feeds.py +1 −3 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ class opdsFeed(Atom1Feed): #super(opdsFeed, self).add_root_elements(handler) handler.characters("\n") handler.addQuickElement("id", self.feed['id']) handler.addQuickElement('icon', settings.ICON) handler.characters("\n") if self.feed.get('link') is not None: handler.addQuickElement('link', None, {"href":self.feed["link"],"rel":"self","type":"application/atom+xml;profile=opds-catalog;kind=navigation"}) Loading @@ -52,9 +53,6 @@ class opdsFeed(Atom1Feed): if self.feed.get('start_url') is not None: handler.addQuickElement('link', None, {"href":self.feed["start_url"],"rel":"start","type":"application/atom+xml;profile=opds-catalog;kind=navigation"}) handler.characters("\n") if self.feed.get('icon') is not None: handler.addQuickElement('icon', settings.ICON) handler.characters("\n") handler.addQuickElement("title", self.feed['title']) handler.characters("\n") if self.feed.get('subtitle') is not None: Loading
opds_catalog/settings.py +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ AUTH = getattr(settings, "SOPDS_AUTH", False) TITLE = getattr(settings, "SOPDS_TITLE", "SimpleOPDS") SUBTITLE = getattr(settings, "SOPDS_SUBTITLE", "SimpleOPDS Catalog by www.sopds.ru. Version %s."%sopds_version) ICON = getattr(settings, "SOPDS_ICONE", "http://sopds.ru/favicon.ico") ICON = getattr(settings, "SOPDS_ICON", "http://www.sopds.ru/favicon.ico") LOGFILE = getattr(settings, "SOPDS_LOGFILE", "scan.log") loglevel = getattr(settings, "SOPDS_LOGLEVEL", "info") Loading