diff options
Diffstat (limited to 'GUI/GUI/GUI/PythonWrapper.cpp')
| -rw-r--r-- | GUI/GUI/GUI/PythonWrapper.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/GUI/GUI/GUI/PythonWrapper.cpp b/GUI/GUI/GUI/PythonWrapper.cpp index 6e9e0f1..71ddc4d 100644 --- a/GUI/GUI/GUI/PythonWrapper.cpp +++ b/GUI/GUI/GUI/PythonWrapper.cpp @@ -73,7 +73,8 @@ std::string PythonWrapper::GetVersion() { std::string result; bool ok = InvokeWithArgs({ "--version" }, &result); if (!ok) { - wxLogFatalError("Failed to get python version: %s", result.c_str()); + wxLogError("Failed to get python version: %s", result.c_str()); + result = ""; } return result; } @@ -83,7 +84,8 @@ std::string PythonWrapper::DumpMics() { const std::string dump_mics_path = "Resources/Scripts/dump_mic_devices.py"; bool ok = InvokeWithArgs({ dump_mics_path }, &result); if (!ok) { - wxLogFatalError("Failed to dump mic devices: %s", result.c_str()); + wxLogError("Failed to dump mic devices: %s", result.c_str()); + result = ""; } return result; } |
