From ba66e7b251d7c5e88ecefc19f100cfe143d39dcf Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Thu, 13 Apr 2017 13:07:22 +0100 Subject: [PATCH] Formatting of influence message. --- plugin/faction/faction.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/faction/faction.py b/plugin/faction/faction.py index c59ec9a..c2df104 100644 --- a/plugin/faction/faction.py +++ b/plugin/faction/faction.py @@ -805,18 +805,18 @@ class Faction(DBConnection): for row in cursor.fetchall(): if row['system_name'] != last_system: if len(lines): - lines.append('') + lines.append('** **') await bot.say_many(destination, lines) lines = [] lines.append('{}__Influence in **{}** at *{}*__'.format('News flash: ' if update else '', row['system_name'], bot.iso8601(row['timestamp']))) - lines.append('') + lines.append(' ') last_system = row['system_name'] line = '{} {:.2f}% ({})'.format(row['faction_name'], row['influence'] * 100.0, eddb.state_name(row['state_id'])) if row['faction_id'] == id: line = '**{}**'.format(line) lines.append(line) if len(lines): - lines.append('') + lines.append('** **') await bot.say_many(destination, lines) ret = True else: -- 2.7.4