]> git.0d.be Git - django-panik-nonstop.git/blobdiff - nonstop/management/commands/stamina.py
stamina: fix logging of random directory start
[django-panik-nonstop.git] / 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)