提交 75760e12 编写于 作者: D deveco_test 提交者: liguangjie
上级 32fd7248
......@@ -257,7 +257,7 @@ class PushKit(ITestKit):
self.pushed_file.append(os.path.join(dst, file))
else:
if device.is_directory(dst):
dst = os.path.join(dst, os.path.basename(real_src_path))
dst = os.path.normpath(os.path.join(dst, os.path.basename(real_src_path)))
device.push_file("{}".format(real_src_path),
"{}".format(dst))
LOG.debug("Push file finished from {} to {}".format(src, dst))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册