Skip to content

Commit

Permalink
fix sandbox path for simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryGinger committed May 22, 2019
1 parent 08e3a58 commit 8d0c8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qt4i/driver/tools/dt.py
Expand Up @@ -925,7 +925,7 @@ def get_sandbox_path_files(self, udid, bundle_id, file_path):
tmp_dict = {}
if self.is_simulator(udid):
sandbox_root = self._get_simulator_app_data_path(udid, bundle_id)
file_path = sandbox_root if file_path == '/' else file_path
file_path = sandbox_root if file_path == '/' else os.path.join(sandbox_root, file_path)
for l in os.listdir(file_path):
tmp_dict['path'] = os.path.join(file_path, l)
tmp_dict['is_dir'] = os.path.isdir(tmp_dict['path'])
Expand Down

0 comments on commit 8d0c8d3

Please sign in to comment.