Skip to content

Commit

Permalink
fix: set correct variable
Browse files Browse the repository at this point in the history
  • Loading branch information
grdddj committed Jan 20, 2025
1 parent 795cb6e commit b23cde1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,11 @@ def version_model() -> str:

try:
EMULATOR.start()
VERSION_RUNNING = model
MODEL_RUNNING = model
except Exception:
# When emulators fails to start, setting it to empty state not to cause issues later
EMULATOR = None
VERSION_RUNNING = None
MODEL_RUNNING = None
raise

log(f"Emulator spawned. PID: {EMULATOR.process.pid}. CMD: {EMULATOR.process.args}") # type: ignore
Expand Down

0 comments on commit b23cde1

Please sign in to comment.