]> git.0d.be Git - django-panik-nonstop.git/commitdiff
stamina: fix logging of random directory start
authorFrédéric Péters <fpeters@0d.be>
Sat, 18 Jul 2020 05:27:34 +0000 (07:27 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 18 Jul 2020 05:27:34 +0000 (07:27 +0200)
nonstop/management/commands/stamina.py

index 8d3ac24edc08873c66d8214ec0e4b336733818cf..39667adeb59ff8fda09db11dc962ca2d87f58154 100644 (file)
@@ -220,7 +220,7 @@ class Command(BaseCommand):
             if hasattr(slot, 'episode'):
                 logger.info('Episode: %s (id: %s)', slot.episode, slot.episode.id)
             else:
-                logger.info('Random: %s', slot.episode, slot.episode.id)
+                logger.info('Random: %s', slot)
             if slot.jingle_id:
                 await self.player_process(slot.jingle, timeout=60)
             await self.player_process(slot)