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

Commit

Permalink
主程序--新增重试功能,略作调整
Browse files Browse the repository at this point in the history
  • Loading branch information
Ljzd-PRO authored Oct 11, 2021
1 parent f34362c commit 6e100e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def get_file_path(file_name=""):

userdata = {
"uid":"",
"stoken":""
"stoken":"",
"id":""
}
setting = {
"module_id":"",
Expand Down Expand Up @@ -57,6 +58,7 @@ def check(i):
while True:
userdata["uid"] = conf.get("Cookies", "uid_{0}".format(i))
userdata["stoken"] = conf.get("Cookies", "stoken_{0}".format(i))
userdata["id"] = str(i)
result = start.start(userdata, setting)
if result == "error":
result_error[str(i)] = userdata["uid"]
Expand Down

0 comments on commit 6e100e0

Please sign in to comment.