1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 01:38:21 +08:00

Fix:display_resize_wsa has an argument(display) of the wrong type: str -> int

This commit is contained in:
SarContDeli
2022-03-17 18:00:00 +08:00
parent 9c464f5b18
commit 357b5cb1c9

View File

@@ -113,5 +113,5 @@ class WSA(Connection):
@retry
def display_resize_wsa(self, display):
logger.warning('display ' + display + ' should be resized')
self.adb_shell(['wm', 'size', '1280x720', '-d', display])
logger.warning('display ' + str(display) + ' should be resized')
self.adb_shell(['wm', 'size', '1280x720', '-d', str(display)])