Skip to content

Commit

Permalink
Cleanup np_pithos.py (#417)
Browse files Browse the repository at this point in the history
* make all active python linters happy
  • Loading branch information
xx4h authored Apr 13, 2024
1 parent 56eff24 commit 05599a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions segments/np_pithos.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pithos_bus = dbus.SessionBus()

pithos = pithos_bus.get_object('net.kevinmehall.Pithos', '/net/kevinmehall/Pithos')
props = pithos.get_dbus_method('GetCurrentSong', 'net.kevinmehall.Pithos')
pithos = pithos_bus.get_object("net.kevinmehall.Pithos", "/net/kevinmehall/Pithos")
props = pithos.get_dbus_method("GetCurrentSong", "net.kevinmehall.Pithos")

print props()["artist"] + " - " + props()["title"]
print(props()["artist"] + " - " + props()["title"])

0 comments on commit 05599a9

Please sign in to comment.