Don't omit a faction from a system's report.
authorCMDR furrycat <elite@furrycat.net>
Sat, 1 Jul 2017 20:06:36 +0000 (21:06 +0100)
committerCMDR furrycat <elite@furrycat.net>
Sat, 1 Jul 2017 20:06:36 +0000 (21:06 +0100)
plugin/faction/faction.py

index 39acb80..75df3e2 100644 (file)
@@ -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)