mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-02 11:58:32 +00:00
test(legacy): add a missing t1_take_screenshots
check in DebugLing`
[no changelog]
This commit is contained in:
parent
5601c0286e
commit
23317d9390
@ -822,7 +822,7 @@ class DebugLink:
|
||||
self._save_screenshot_t1(state.layout)
|
||||
|
||||
def _save_screenshot_t1(self, data: bytes) -> None:
|
||||
if self.t1_screenshot_directory is None:
|
||||
if self.t1_screenshot_directory is None or not self.t1_take_screenshots:
|
||||
return
|
||||
|
||||
from PIL import Image
|
||||
|
Loading…
Reference in New Issue
Block a user