adjust comments
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 29 Jul 2022 09:49:35 +0000 (11:49 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 29 Jul 2022 09:49:35 +0000 (11:49 +0200)
music_assistant/mass.py

index e41448209f9f6be25cd3e9d6b27033502726b109..66a386e194d1707bd7640d154a41288e9ff001c9 100644 (file)
@@ -41,8 +41,7 @@ class MusicAssistant:
         """
         Create an instance of MusicAssistant.
 
-            conf: Music Assistant runtimestartup Config
-            stream_port: TCP port used for streaming audio.
+            config: Music Assistant runtimestartup Config
             session: Optionally provide an aiohttp clientsession
         """
 
@@ -103,8 +102,8 @@ class MusicAssistant:
         if self.closed:
             return
         if self.logger.isEnabledFor(logging.DEBUG):
-            # do not log queue time updated events because that is too chatty
             if event.type != EventType.QUEUE_TIME_UPDATED:
+                # do not log queue time updated events because that is too chatty
                 self.logger.getChild("event").debug(
                     "%s %s", event.type.value, event.object_id or ""
                 )