Commit 244423dc authored by mitshel's avatar mitshel
Browse files

Fix error when downloading epub+zip type. Now epub file won't be archived in addition.

parent dcc7a0e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ bind_address = 0.0.0.0

# Если auth = yes, то встроенный httpd-сервер будет выполнять Basic-авторизацию на основании строки auth_accounts
# по умолчнию auth = no
auth = no
auth = yes

# Строка accounts должна содержать разделенные пробелам пары user:password
# на основании данных этого параметра при включенном auth = yes будет происходить авторизация на встроенном
+2 −1
Original line number Diff line number Diff line
@@ -145,6 +145,7 @@ class baseWrapper():
        self.add_response_body(self.template.document_entry_acq_book_link_alternate%data)
        data['id']=91
        self.add_response_body(self.template.document_entry_acq_book_link%data)
        if data['format']!='epub':
           data['id']=92
        data['format']=data['format']+'+zip'
        self.add_response_body(self.template.document_entry_acq_book_link%data)