mirror of
https://github.com/onyx-and-iris/simple-recorder.git
synced 2026-04-20 16:23:34 +00:00
set timeout for directory command
initialise current_directory to empty value if the request fails. patch bump
This commit is contained in:
@@ -31,6 +31,7 @@ class SimpleRecorderWindow(fsg.Window):
|
||||
current_directory = resp.record_directory
|
||||
except (ConnectionRefusedError, TimeoutError):
|
||||
status_message = "Failed to connect to OBS. Is it running?"
|
||||
current_directory = ""
|
||||
|
||||
recorder_layout = [
|
||||
[fsg.Text("Enter recording filename:", key="-PROMPT-")],
|
||||
|
||||
Reference in New Issue
Block a user