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
51f9cd4b
Commit
51f9cd4b
authored
Jan 18, 2021
by
Ozzie Isaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix english language names
parent
a1668e24
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
419 additions
and
418 deletions
+419
-418
constants.py
cps/constants.py
+2
-1
iso_language_names.py
cps/iso_language_names.py
+417
-417
No files found.
cps/constants.py
View file @
51f9cd4b
...
@@ -21,6 +21,7 @@ import sys
...
@@ -21,6 +21,7 @@ import sys
import
os
import
os
from
collections
import
namedtuple
from
collections
import
namedtuple
# if installed via pip this variable is set to true
HOME_CONFIG
=
False
HOME_CONFIG
=
False
# Base dir is parent of current file, necessary if called from different folder
# Base dir is parent of current file, necessary if called from different folder
...
@@ -40,7 +41,7 @@ if HOME_CONFIG:
...
@@ -40,7 +41,7 @@ if HOME_CONFIG:
os
.
makedirs
(
home_dir
)
os
.
makedirs
(
home_dir
)
CONFIG_DIR
=
os
.
environ
.
get
(
'CALIBRE_DBPATH'
,
home_dir
)
CONFIG_DIR
=
os
.
environ
.
get
(
'CALIBRE_DBPATH'
,
home_dir
)
else
:
else
:
CONFIG_DIR
=
os
.
environ
.
get
(
'CALIBRE_DBPATH'
,
BASE_DIR
)
CONFIG_DIR
=
os
.
environ
.
get
(
'CALIBRE_DBPATH'
,
BASE_DIR
)
ROLE_USER
=
0
<<
0
ROLE_USER
=
0
<<
0
...
...
cps/iso_language_names.py
View file @
51f9cd4b
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