Skip to content

Commit

Permalink
lint: apply flake8 lints
Browse files Browse the repository at this point in the history
  • Loading branch information
mokurin000 committed Jan 15, 2024
1 parent 20bf1c6 commit eb245cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion feeluown/player/mpvplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ def set_volume(max_volume: int, fade_in: bool):
interval = 0.01

for _tick in range(freq):
new_volume = math.ceil(fade_curve(_tick/freq, fade_in=fade_in)*max_volume)
new_volume = math.ceil(
fade_curve(_tick/freq, fade_in=fade_in)*max_volume
)
self.volume = new_volume
time.sleep(interval)

Expand Down

0 comments on commit eb245cb

Please sign in to comment.