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
bde79210
Commit
bde79210
authored
Dec 30, 2020
by
Ozzieisaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix modal path id for calibre db filepicker
Fix SyncToken last-Book-id missing
parent
d33b0587
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
SyncToken.py
cps/services/SyncToken.py
+2
-0
config_edit.html
cps/templates/config_edit.html
+1
-1
No files found.
cps/services/SyncToken.py
View file @
bde79210
...
@@ -144,6 +144,8 @@ class SyncToken:
...
@@ -144,6 +144,8 @@ class SyncToken:
except
TypeError
:
except
TypeError
:
log
.
error
(
"SyncToken timestamps don't parse to a datetime."
)
log
.
error
(
"SyncToken timestamps don't parse to a datetime."
)
return
SyncToken
(
raw_kobo_store_token
=
raw_kobo_store_token
)
return
SyncToken
(
raw_kobo_store_token
=
raw_kobo_store_token
)
except
KeyError
:
books_last_id
=
-
1
return
SyncToken
(
return
SyncToken
(
raw_kobo_store_token
=
raw_kobo_store_token
,
raw_kobo_store_token
=
raw_kobo_store_token
,
...
...
cps/templates/config_edit.html
View file @
bde79210
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<input
type=
"text"
class=
"form-control"
id=
"config_calibre_dir"
name=
"config_calibre_dir"
value=
"{% if config.config_calibre_dir != None %}{{ config.config_calibre_dir }}{% endif %}"
autocomplete=
"off"
>
<input
type=
"text"
class=
"form-control"
id=
"config_calibre_dir"
name=
"config_calibre_dir"
value=
"{% if config.config_calibre_dir != None %}{{ config.config_calibre_dir }}{% endif %}"
autocomplete=
"off"
>
{% if filepicker %}
{% if filepicker %}
<span
class=
"input-group-btn"
>
<span
class=
"input-group-btn"
>
<button
type=
"button"
data-toggle=
"modal"
id=
"c
onverter
_modal_path"
data-link=
"config_calibre_dir"
data-filefilter=
"metadata.db"
data-target=
"#fileModal"
id=
"library_path"
class=
"btn btn-default"
><span
class=
"glyphicon glyphicon-folder-open"
></span></button>
<button
type=
"button"
data-toggle=
"modal"
id=
"c
alibre
_modal_path"
data-link=
"config_calibre_dir"
data-filefilter=
"metadata.db"
data-target=
"#fileModal"
id=
"library_path"
class=
"btn btn-default"
><span
class=
"glyphicon glyphicon-folder-open"
></span></button>
</span>
</span>
{% endif %}
{% endif %}
</div>
</div>
...
...
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