summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-11-27 23:31:41 +0100
committerBotond Hende <nettingman@gmail.com>2024-11-27 23:31:41 +0100
commit61549211126ff8abc347e9a100b120773dfc2d62 (patch)
tree78cbbe90fd64def503fe3390ee90f94cea805322
parent744961a1538fbb0d821c5d2a332d65fd8c6b1290 (diff)
fixed input_mode selection from config
-rw-r--r--__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__main__.py b/__main__.py
index 6692d7e..ab4f59c 100644
--- a/__main__.py
+++ b/__main__.py
@@ -49,7 +49,7 @@ def main():
"process": TextSlotList.from_strings(processes)
}
- input_handler = PipeWireRecord() if config.input_handler == Config.INPUT_PW else StdinInput()
+ input_handler = PipeWireRecord() if config.input_mode == Config.INPUT_PW else StdinInput()
try:
# TODO select input type from config