Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
更新读取配置文件失败时的提示文案
Browse files Browse the repository at this point in the history
  • Loading branch information
kun775 committed Jan 25, 2021
1 parent 333c03b commit d4f4f56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion douyin.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

ini_text = '''
[设置]
#请用notepad++或者sublimeText编辑,并确保编码类型为GB2312
#用户主页链接可以在抖音用户主页分享-》复制链接,然后粘贴在此,多用户用,分隔(英文状态下的逗号)
用户主页列表=https://v.douyin.com/JWTACSX/,https://v.douyin.com/J76dSXL/,https://v.douyin.com/J76kbWF/
#所有作品保存的根目录
Expand Down Expand Up @@ -59,7 +60,7 @@ def read_config(self):
if value:
self.block_count = int(value)
except:
input('读取配置文件失败,请确保配置正确,按任意键继续')
input('读取配置文件失败,请确保配置正确,编码是否为GB2312,请使用SublimeText或NotePad++编辑,按任意键继续')
exit(0)

def hello(self):
Expand Down

0 comments on commit d4f4f56

Please sign in to comment.