From 917e301c638c495b0403c92ee107755047afbd3b Mon Sep 17 00:00:00 2001
From: M1nd3r <petrsedlacek.km@seznam.cz>
Date: Tue, 4 Feb 2025 14:55:54 +0100
Subject: [PATCH] chore(core): adapt emu.py to the new trezorlib [no changelog]

---
 core/emu.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/core/emu.py b/core/emu.py
index ba1b2ff1ce..83ebafc0fd 100755
--- a/core/emu.py
+++ b/core/emu.py
@@ -288,9 +288,10 @@ def cli(
             label = "Emulator"
 
         assert emulator.client is not None
-        trezorlib.device.wipe(emulator.client)
+        trezorlib.device.wipe(emulator.client.get_seedless_session())
+
         trezorlib.debuglink.load_device(
-            emulator.client,
+            emulator.client.get_seedless_session(),
             mnemonics,
             pin=None,
             passphrase_protection=False,