X-Git-Url: http://git.scottworley.com/srec/blobdiff_plain/545a7ac62734b0520e71d89ad4348fe9ba6bc014..8972b99db6d440df3adbf756cb1ed20e5584d0bd:/srec.py diff --git a/srec.py b/srec.py index 01b5a8c..35efcaf 100644 --- a/srec.py +++ b/srec.py @@ -20,7 +20,6 @@ from gi.repository import GLib # nopep8 pylint: disable=wrong-import-position @dataclass class Recording: - filename: str process: subprocess.Popen[bytes] @@ -77,7 +76,6 @@ def on_start_recording(_: Gtk.Button, stack: Gtk.Stack) -> None: ['-f', 'pulse', '-ac', '2', '-i', 'default', filename]) # pylint: disable=consider-using-with recording = Recording( - filename=filename, process=subprocess.Popen(command, stdin=subprocess.PIPE)) stack.set_visible_child_name("recording")