Skip to content

Commit f92f5c5

Browse files
Lint
1 parent 6a05ee2 commit f92f5c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amplipi/ctrl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ def set_vol():
858858

859859
vol_db = utils.vol_float_to_db(vol_f_new, zone.vol_min, zone.vol_max)
860860
zone.vol_f_overflow = 0 if models.MIN_VOL_F < expected_vol_total and expected_vol_total < models.MAX_VOL_F \
861-
else utils.clamp((expected_vol_total - vol_f_new), models.MIN_VOL_F_OVERFLOW, models.MAX_VOL_F_OVERFLOW)
861+
else utils.clamp((expected_vol_total - vol_f_new), models.MIN_VOL_F_OVERFLOW, models.MAX_VOL_F_OVERFLOW)
862862
# Clamp the remaining delta to be between -1 and 1
863863

864864
elif update.vol_f is not None and update.vol is None:

0 commit comments

Comments
 (0)