Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
15bb0ce9
Commit
15bb0ce9
authored
Dec 04, 2020
by
Ozzieisaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for #1439 (send kepub file instead of epub for kobo epub3 request)
Fix archived books are editable
parent
a82911ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
editbooks.py
cps/editbooks.py
+1
-1
kobo.py
cps/kobo.py
+1
-1
No files found.
cps/editbooks.py
View file @
15bb0ce9
...
...
@@ -588,7 +588,7 @@ def edit_book(book_id):
# create the function for sorting...
calibre_db
.
update_title_sort
(
config
)
book
=
calibre_db
.
get_filtered_book
(
book_id
)
book
=
calibre_db
.
get_filtered_book
(
book_id
,
allow_show_archived
=
True
)
# Book not found
if
not
book
:
...
...
cps/kobo.py
View file @
15bb0ce9
...
...
@@ -52,7 +52,7 @@ from .services import SyncToken as SyncToken
from
.web
import
download_required
from
.kobo_auth
import
requires_kobo_auth
,
get_auth_token
KOBO_FORMATS
=
{
"KEPUB"
:
[
"KEPUB"
],
"EPUB"
:
[
"EPUB3"
,
"EPUB"
]}
KOBO_FORMATS
=
{
"KEPUB"
:
[
"KEPUB"
,
"EPUB3"
],
"EPUB"
:
[
"EPUB"
]}
KOBO_STOREAPI_URL
=
"https://storeapi.kobo.com"
KOBO_IMAGEHOST_URL
=
"https://kbimages1-a.akamaihd.net"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment