s2t 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: s2t
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Speech to Text (s2t): Record audio, run Whisper, export formats, and copy transcript to clipboard.
5
5
  Author: Maintainers
6
6
  License-Expression: LicenseRef-Proprietary
@@ -29,7 +29,10 @@ class WhisperEngine:
29
29
  self.samplerate = samplerate
30
30
  self.channels = channels
31
31
  self.verbose = verbose
32
- self.profile = profile or {}
32
+ # Use the provided profile dict even if it's empty.
33
+ # Using `or {}` would create a new dict when an empty one is passed,
34
+ # breaking shared accumulation with the caller (CLI).
35
+ self.profile = profile if profile is not None else {}
33
36
  self._executor: ThreadPoolExecutor | None = None
34
37
 
35
38
  def preload(self) -> tuple[ThreadPoolExecutor | None, Future | None]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: s2t
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Speech to Text (s2t): Record audio, run Whisper, export formats, and copy transcript to clipboard.
5
5
  Author: Maintainers
6
6
  License-Expression: LicenseRef-Proprietary
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes