Skip to content

Commit

Permalink
🎓升级检测放在配置文件前
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnserf-Seed committed Aug 17, 2023
1 parent edc5bd5 commit c58ff53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Util/Command.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ def __init__(self):
'Referer':'https://www.douyin.com/'
}
self.setting()
# 是否自动升级
Util.Updata(self.config_dict['update'])

def argument(self):
"""
Expand Down
2 changes: 2 additions & 0 deletions Util/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ def check(self):
self.download()

return self.cf
# 是否自动升级
Util.Updata(self.cf['update'])

def download(self) -> None:
"""
Expand Down

0 comments on commit c58ff53

Please sign in to comment.