Skip to content

Commit

Permalink
Fix: Mark nemu_ipc unavailable if emulator instance not found
Browse files Browse the repository at this point in the history
  • Loading branch information
LmeSzinc committed Apr 13, 2024
1 parent d67874c commit 3e585ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion module/device/method/nemu_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,9 @@ def nemu_ipc(self) -> NemuIpcImpl:
# Search emulator instance
# with E:\ProgramFiles\MuMuPlayer-12.0\shell\MuMuPlayer.exe
# installation path is E:\ProgramFiles\MuMuPlayer-12.0
_ = self.emulator_instance
if self.emulator_instance is None:
logger.error('Unable to use NemuIpc because emulator instance not found')
raise RequestHumanTakeover
try:
return NemuIpcImpl(
nemu_folder=self.emulator_instance.emulator.abspath('../'),
Expand Down

0 comments on commit 3e585ab

Please sign in to comment.