From eb619c81340afcda6edc6c94c9e192a996106f59 Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Sat, 1 Jul 2017 21:06:36 +0100 Subject: [PATCH] Don't omit a faction from a system's report. --- plugin/faction/faction.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/faction/faction.py b/plugin/faction/faction.py index 39acb80..75df3e2 100644 --- a/plugin/faction/faction.py +++ b/plugin/faction/faction.py @@ -924,6 +924,9 @@ class Faction(DBConnection): report = self.null_report() for row in cursor.fetchall(): if row['system_name'] != last_system: + line = self.format_report(report, id = id) + if line is not None: + lines.append(line) if len(lines): lines.append('** **') await bot.say_many(destination, lines) -- 2.7.4