def sync_data_daemon(stdoutpipe): qa_li = get_qa_list("screenshots/QA.txt") ok = upload_to_cloud(qa_li) if ok: stdoutpipe.put("同步信息到云端成功") else: stdoutpipe.put("同步信息到云端错误")
def test_getqa(self): qa_li = get_qa_list("screenshots/QA.txt") for key, value in qa_li.items(): print(key, value) upload_to_cloud(qa_li)
def sync_data_daemon(stdoutpipe): qa_li = get_qa_list("screenshots/QA.txt")