Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion core/MultiAdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
def print(*args, **kwargs):
_print(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()), *args, **kwargs)

adb = ADB().adb_path
adb_str = ADB().adb_path
if adb_str.count(' ') != 0:
adb = '\"' + adb_str + '\"'
#同文件内用queue进行线程通信
q = queue.Queue()

Expand Down
4 changes: 3 additions & 1 deletion tools/Init_MiniCap.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
def print(*args, **kwargs):
_print(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()), *args, **kwargs)

adb = ADB().adb_path
adb_str = ADB().adb_path
if adb_str.count(' ') != 0:
adb = '\"' + adb_str + '\"'

#用来给设备初始化MiniCap的,介绍见 https://blog.csdn.net/saint_228/article/details/92142914
def ini_MiniCap(devices):
Expand Down
4 changes: 3 additions & 1 deletion tools/Screencap.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
def print(*args, **kwargs):
_print(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()), *args, **kwargs)
'''
adb = ADB().adb_path
adb_str = ADB().adb_path
if adb_str.count(' ') != 0:
adb = '\"' + adb_str + '\"'
reportpath = os.path.join(os.getcwd(), "Report")
screenpath = os.path.join(reportpath, "Screen")

Expand Down