mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-17 14:35:25 +08:00
Fix:display_resize_wsa has an argument(display) of the wrong type: str -> int
This commit is contained in:
@@ -113,5 +113,5 @@ class WSA(Connection):
|
|||||||
|
|
||||||
@retry
|
@retry
|
||||||
def display_resize_wsa(self, display):
|
def display_resize_wsa(self, display):
|
||||||
logger.warning('display ' + display + ' should be resized')
|
logger.warning('display ' + str(display) + ' should be resized')
|
||||||
self.adb_shell(['wm', 'size', '1280x720', '-d', display])
|
self.adb_shell(['wm', 'size', '1280x720', '-d', str(display)])
|
||||||
|
|||||||
Reference in New Issue
Block a user