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
9d7ef250
Commit
9d7ef250
authored
Jan 30, 2021
by
Ozzie Isaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Kobo sync & Update Teststatus
parent
7fa5865c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
316 additions
and
101 deletions
+316
-101
kobo.py
cps/kobo.py
+1
-1
Calibre-Web TestSummary_Linux.html
test/Calibre-Web TestSummary_Linux.html
+315
-100
No files found.
cps/kobo.py
View file @
9d7ef250
...
@@ -178,7 +178,7 @@ def HandleSyncRequest():
...
@@ -178,7 +178,7 @@ def HandleSyncRequest():
for
book
in
changed_entries
:
for
book
in
changed_entries
:
formats
=
[
data
.
format
for
data
in
book
.
Books
.
data
]
formats
=
[
data
.
format
for
data
in
book
.
Books
.
data
]
if
not
'KEPUB'
in
formats
and
config
.
config_kepubifypath
and
'EPUB'
in
formats
:
if
not
'KEPUB'
in
formats
and
config
.
config_kepubifypath
and
'EPUB'
in
formats
:
helper
.
convert_book_format
(
book
.
id
,
config
.
config_calibre_dir
,
'EPUB'
,
'KEPUB'
,
current_user
.
nickname
)
helper
.
convert_book_format
(
book
.
Books
.
id
,
config
.
config_calibre_dir
,
'EPUB'
,
'KEPUB'
,
current_user
.
nickname
)
kobo_reading_state
=
get_or_create_reading_state
(
book
.
Books
.
id
)
kobo_reading_state
=
get_or_create_reading_state
(
book
.
Books
.
id
)
entitlement
=
{
entitlement
=
{
...
...
test/Calibre-Web TestSummary_Linux.html
View file @
9d7ef250
This diff is collapsed.
Click to expand it.
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