Skip to content

Commit

Permalink
correct flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Groovylein committed Nov 18, 2023
1 parent b910210 commit 86e734e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/jukebox/components/player/plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
# The various backends
backend_mpd: Optional[MPDBackend] = None


def start_event_loop(loop: asyncio.AbstractEventLoop):
# https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.shutdown_asyncgens
logger.debug("Start player AsyncIO Background Event Loop")
Expand Down
2 changes: 1 addition & 1 deletion src/jukebox/components/volume/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
import logging
import threading
import time
import traceback

import pulsectl
import jukebox.cfghandler
Expand Down Expand Up @@ -649,6 +648,7 @@ def finalize():
else:
pulse_control.publish_volume()


@plugin.atexit
def atexit(**ignored_kwargs):
global pulse_monitor
Expand Down

0 comments on commit 86e734e

Please sign in to comment.