Skip to content

Commit

Permalink
过滤无不需要检测的模式
Browse files Browse the repository at this point in the history
  • Loading branch information
libsgh committed Jun 18, 2021
1 parent cb85f72 commit c43b928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/Jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func Run() {
//cookie有效性检测
c.AddFunc("0 0/1 * * * ?", func() {
for _, account := range config.GloablConfig.Accounts {
if account.Mode != "native" || account.Mode != "aliyundrive" {
if account.Mode != "native" && account.Mode != "aliyundrive" {
cookieValid := true
if account.Mode == "cloud189" {
if _, ok := Util.CLoud189Sessions[account.Id]; ok {
Expand Down

0 comments on commit c43b928

Please sign in to comment.