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
852f252d
Commit
852f252d
authored
Jun 28, 2020
by
Ozzieisaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent invalid variable
Make text in kobo_auth_screen consistent
parent
08004288
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
admin.py
cps/admin.py
+1
-0
generate_kobo_auth_url.html
cps/templates/generate_kobo_auth_url.html
+1
-1
No files found.
cps/admin.py
View file @
852f252d
...
...
@@ -613,6 +613,7 @@ def _configuration_update_helper():
reboot_required
=
False
db_change
=
False
to_save
=
request
.
form
.
to_dict
()
gdriveError
=
None
to_save
[
'config_calibre_dir'
]
=
re
.
sub
(
'[
\\
/]metadata
\
.db$'
,
''
,
to_save
[
'config_calibre_dir'
],
flags
=
re
.
IGNORECASE
)
try
:
...
...
cps/templates/generate_kobo_auth_url.html
View file @
852f252d
...
...
@@ -5,7 +5,7 @@
{{_('Open the .kobo/Kobo eReader.conf file in a text editor and add (or edit):')}}
</a>
</p>
<p>
{% if not warning %}
'api_endpoint='
{{kobo_auth_url}}{% else %}{{warning}}{% endif %}
</a>
{% if not warning %}
api_endpoint=
{{kobo_auth_url}}{% else %}{{warning}}{% endif %}
</a>
</p>
<p>
</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