修复引号错误

This commit is contained in:
Cp0204 2024-04-02 16:01:10 +08:00
parent fda52dca6a
commit 99b1a4a9aa

View File

@ -191,13 +191,13 @@ def get_fids(file_paths):
response = requests.request(
"POST", url, json=payload, headers=headers, params=querystring
).json()
if(response["code"] == 0):
if response["code"] == 0:
fids += response["data"]
file_paths = file_paths[50:]
else:
print(f"获取目录ID失败, {response["message"]}")
print(f"获取目录ID失败, {response['message']}")
break
if(len(file_paths) == 0):
if len(file_paths) == 0:
break
return fids
@ -621,7 +621,7 @@ def main():
global config_data, first_account
start_time = datetime.now()
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"")
# 启动参数
arguments = sys.argv
@ -675,5 +675,6 @@ def main():
print(f"😃 运行时长: {round(duration.total_seconds(), 2)}s")
print(f"")
if __name__ == "__main__":
main()