diff --git a/src/dashboard/js/index.js b/src/dashboard/js/index.js index caa27bf..302e104 100644 --- a/src/dashboard/js/index.js +++ b/src/dashboard/js/index.js @@ -162,6 +162,7 @@ const app = createApp({ if ( "response" in dataObject && + typeof dataObject.response === 'string' && dataObject.response.includes("Emulator downloaded") ) { this.downloadMessage = ""; diff --git a/src/emulator.py b/src/emulator.py index 440a310..2a1d821 100644 --- a/src/emulator.py +++ b/src/emulator.py @@ -917,8 +917,7 @@ def get_debug_state() -> Dict[str, Any]: val = val.decode("utf-8") except UnicodeDecodeError: val = val.hex() - - debug_state_dict[key] = val + debug_state_dict[key] = val return debug_state_dict