We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f0204b commit 7682a56Copy full SHA for 7682a56
adafruit_fruitjam/peripherals.py
@@ -279,10 +279,9 @@ def volume(self, volume_level: int) -> None:
279
if volume_level > self.safe_volume_limit:
280
raise ValueError(
281
f"""Volume level must be less than or equal to
282
-safe_volume_limit: {self.safe_volume_limit}.
283
-Using higher values could damage speakers.
284
-To override this limitation pass a value larger {self.safe_volume_limit}
285
-for the safe_volume_limit argument of the constructor."""
+safe_volume_limit: {self.safe_volume_limit}. Using higher values could damage speakers.
+To override this limitation set a larger value than {self.safe_volume_limit}
+for the safe_volume_limit with the constructor or property."""
286
)
287
288
self._volume = volume_level
0 commit comments