Skip to content

Commit

Permalink
将设置移动到单文件上
Browse files Browse the repository at this point in the history
  • Loading branch information
misaka10843 committed Jan 28, 2024
1 parent f7b4d65 commit 2ad9c66
Show file tree
Hide file tree
Showing 2 changed files with 172 additions and 171 deletions.
56 changes: 56 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
SETTINGS = {
"download_path": None,
"authorization": None,
"use_oversea_cdn": None,
"use_webp": None,
"proxies": None,
"api_url": None,
"HC": None,
"CBZ": None,
"cbz_path": None,
"api_time": 0.0,
"API_COUNTER": 0,
"loginPattern": "0",
"salt": None,
"username": None,
"password": None,
"send_to_kindle": None,
"kcc_cmd": None,
"email_address": None,
"email_passwd": None,
"kindle_address": None,
"email_smtp_address": None
}

# '''
# "epub_and_mail_to_kindle": None,
# "kcc_cmd": None,
# "email_address": None,
# "email_passwd": None,
# "kindle_address": None,
# '''

# 全局化设置,备份,防止命令行参数导致设置错位
OG_SETTINGS = {
"download_path": None,
"authorization": None,
"use_oversea_cdn": None,
"use_webp": None,
"proxies": None,
"api_url": None,
"HC": None,
"CBZ": None,
"cbz_path": None,
"api_time": 0.0,
"API_COUNTER": 0,
"loginPattern": "0",
"salt": None,
"username": None,
"password": None,
"send_to_kindle": None,
"kcc_cmd": None,
"email_address": None,
"email_passwd": None,
"kindle_address": None,
"email_smtp_address": None
}
Loading

0 comments on commit 2ad9c66

Please sign in to comment.