Skip to content

Commit

Permalink
Fix for Trepn not working when connected to ADB through WiFi
Browse files Browse the repository at this point in the history
  • Loading branch information
odmnk committed May 6, 2021
1 parent 2d33a8f commit 11b8c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AndroidRunner/Plugins/trepn/Trepn.py
Expand Up @@ -121,7 +121,7 @@ def collect_results(self, device):
# Gives the latest result
db = device.shell(r'ls %s | grep "\.db$"' % Trepn.DEVICE_PATH).strip().splitlines()
newest_db = db[len(db) - 1]
csv_filename = '%s_%s.csv' % (device.id, op.splitext(newest_db)[0])
csv_filename = '%s_%s.csv' % (util.slugify(device.id), op.splitext(newest_db)[0])
if newest_db:
device.shell('am broadcast -a com.quicinc.trepn.export_to_csv '
'-e com.quicinc.trepn.export_db_input_file "%s" '
Expand Down

0 comments on commit 11b8c62

Please sign in to comment.