提交 69fbd5c9 编写于 作者: A Air9 提交者: Gitee

update hwcert/certification.py for uploading result.

上级 5f98508f
......@@ -159,14 +159,14 @@ class EulerCertification():
if not self.upload(path, server):
print("Upload failed.")
else:
print("Successfully upload result to server %s." % server)
print("Successfully uploaded result to server %s." % server)
time.sleep(2)
for filename in packages:
os.remove(os.path.join(CertEnv.datadirectory, filename))
def upload(self, path, server):
print("uploading...")
print("Uploading...")
if not self.client:
cert_id = self.certification.get_certify()
hardware_info = self.certification.get_hardware()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册