Commits

Luke Plant  committed ecc53b9

Small optimization

  • Participants
  • Parent commits 2aae25e

Comments (0)

Files changed (1)

File playerdo/backends/mpris.py

 
     @property
     def player(self):
-        if self.bus_name is None or self.player_object_name is None:
+        bus_name = self.bus_name
+
+        if bus_name is None:
             raise NotImplementedError
 
         try: