home · contact · privacy
Minor code clean-up. master
authorChristian Heller <c.heller@plomlompom.de>
Wed, 18 Dec 2024 13:23:59 +0000 (14:23 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 18 Dec 2024 13:23:59 +0000 (14:23 +0100)
src/ytplom/http.py

index 6ccf282a5088e4eef51d6134dd7c196040fe1df5..1ef79b417974394a5e22ad5806cbf2ce0ccea53a 100644 (file)
@@ -401,11 +401,10 @@ class _TaskHandler(BaseHTTPRequestHandler):
                             self.server.config.whitelist_tags_display)
             if last_sent < self.server.player.last_update:
                 last_sent = self.server.player.last_update
                             self.server.config.whitelist_tags_display)
             if last_sent < self.server.player.last_update:
                 last_sent = self.server.player.last_update
-                title, tags, digest = '', '', ''
+                title, tags = '', ''
                 if playing:
                     tags = playing.tags_showable.joined
                     title = str(playing.rel_path)
                 if playing:
                     tags = playing.tags_showable.joined
                     title = str(playing.rel_path)
-                    digest = playing.digest.b64
                 data = {
                     'last_update': self.server.player.last_update,
                     'running': self.server.player.is_running,
                 data = {
                     'last_update': self.server.player.last_update,
                     'running': self.server.player.is_running,