mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-24 17:10:31 +00:00
Fix #900
This commit is contained in:
parent
b80bfa5260
commit
55bb8d4590
@ -704,7 +704,7 @@ def feed_search(term):
|
||||
def render_xml_template(*args, **kwargs):
|
||||
#ToDo: return time in current timezone similar to %z
|
||||
currtime = datetime.datetime.now().strftime("%Y-%m-%dT%H:%M:%S+00:00")
|
||||
xml = render_template(current_time=currtime, *args, **kwargs)
|
||||
xml = render_template(current_time=currtime, instance=config.config_calibre_web_title, *args, **kwargs)
|
||||
response = make_response(xml)
|
||||
response.headers["Content-Type"] = "application/atom+xml; charset=utf-8"
|
||||
return response
|
||||
|
@ -14,7 +14,10 @@ six==1.10.0
|
||||
# goodreads
|
||||
goodreads>=0.3.2
|
||||
python-Levenshtein>=0.12.0
|
||||
# other
|
||||
#extracting metadata
|
||||
lxml>=3.8.0
|
||||
Pillow>=4.0.0
|
||||
rarfile>=2.7
|
||||
# other
|
||||
natsort>=2.2.0
|
||||
|
||||
|
@ -13,4 +13,3 @@ SQLAlchemy>=1.1.0
|
||||
tornado>=4.1
|
||||
Wand>=0.4.4
|
||||
unidecode>=0.04.19
|
||||
Pillow>=5.4.0
|
Loading…
Reference in New Issue
Block a user