diff options
author | Botond Hende <nettingman@gmail.com> | 2024-11-27 22:50:09 +0100 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-11-27 22:50:09 +0100 |
commit | 9a79c535edb655ca490c2b231aad2466951caf7f (patch) | |
tree | fde5a6f8460c807c1562df160b13842e8a212f93 /modules/input_handlers/pipewire_record.py | |
parent | 965c0e3401a4743c4f5e91e2368fd04b0b24aa02 (diff) |
added typehints for return values
Diffstat (limited to 'modules/input_handlers/pipewire_record.py')
-rw-r--r-- | modules/input_handlers/pipewire_record.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/input_handlers/pipewire_record.py b/modules/input_handlers/pipewire_record.py index 3ad295c..ad119b6 100644 --- a/modules/input_handlers/pipewire_record.py +++ b/modules/input_handlers/pipewire_record.py @@ -11,12 +11,12 @@ FIFO_PATH = "/tmp/hestia-listening" RECORD_PATH = "/tmp/hestia-record.mp3" class PipeWireRecord(InputHandler): - def cleanup(self): + def cleanup(self) -> None: if os.path.exists(FIFO_PATH): os.remove(FIFO_PATH) - def get_input(self): + def get_input(self) -> str: device = PipeWireRecord.get_device() self.cleanup() |