From 720a5f7361407fc4ad87223dadf3772fcc1bc546 Mon Sep 17 00:00:00 2001 From: Ingwar Wirjawan Date: Thu, 25 Aug 2016 12:04:23 +0700 Subject: [PATCH] fix 4706 (#4710) --- pokemongo_bot/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemongo_bot/metrics.py b/pokemongo_bot/metrics.py index 3e5d479857..eff0a29503 100644 --- a/pokemongo_bot/metrics.py +++ b/pokemongo_bot/metrics.py @@ -48,7 +48,7 @@ def num_captures(self): def uniq_caught(self): # generate pokemon string 'Snorlax, Pikachu' from list of ids - return ', '.join([Pokemons.name_for(pok_id) for pok_id in self.uniq_pokemons_caught]) or '' + return ', '.join([Pokemons.name_for(pok_id) for pok_id in self.uniq_pokemons_caught]) if self.uniq_pokemons_caught else '' def captures_per_hour(self): """