mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-16 17:30:43 +08:00
修复引号错误
This commit is contained in:
parent
fda52dca6a
commit
99b1a4a9aa
@ -191,13 +191,13 @@ def get_fids(file_paths):
|
|||||||
response = requests.request(
|
response = requests.request(
|
||||||
"POST", url, json=payload, headers=headers, params=querystring
|
"POST", url, json=payload, headers=headers, params=querystring
|
||||||
).json()
|
).json()
|
||||||
if(response["code"] == 0):
|
if response["code"] == 0:
|
||||||
fids += response["data"]
|
fids += response["data"]
|
||||||
file_paths = file_paths[50:]
|
file_paths = file_paths[50:]
|
||||||
else:
|
else:
|
||||||
print(f"获取目录ID:失败, {response["message"]}")
|
print(f"获取目录ID:失败, {response['message']}")
|
||||||
break
|
break
|
||||||
if(len(file_paths) == 0):
|
if len(file_paths) == 0:
|
||||||
break
|
break
|
||||||
return fids
|
return fids
|
||||||
|
|
||||||
@ -621,7 +621,7 @@ def main():
|
|||||||
global config_data, first_account
|
global config_data, first_account
|
||||||
start_time = datetime.now()
|
start_time = datetime.now()
|
||||||
print(f"===============程序开始===============")
|
print(f"===============程序开始===============")
|
||||||
print(f"⏰ 执行时间: {start_time.strftime("%Y-%m-%d %H:%M:%S")}")
|
print(f"⏰ 执行时间: {start_time.strftime('%Y-%m-%d %H:%M:%S')}")
|
||||||
print(f"")
|
print(f"")
|
||||||
# 启动参数
|
# 启动参数
|
||||||
arguments = sys.argv
|
arguments = sys.argv
|
||||||
@ -675,5 +675,6 @@ def main():
|
|||||||
print(f"😃 运行时长: {round(duration.total_seconds(), 2)}s")
|
print(f"😃 运行时长: {round(duration.total_seconds(), 2)}s")
|
||||||
print(f"")
|
print(f"")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user