From a0d439c04d6d7d2d8a5a42c9dc33ab41d9879e06 Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Mon, 21 Oct 2019 18:43:59 -0400 Subject: [PATCH] fix missing commas in --no-color output --- ASCII/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index 4f4ef62..56796ba 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -1063,11 +1063,11 @@ class ASCII(callbacks.Plugin): aimg[j] += "\x030,{0} ".format(int(color)) elif type == 'no-color' and i == 0: if bg != 99 and fg != 99: - aimg[j] += "\x03{0}{1}{2}".format("{:02d}".format(int(fg)), "{:02d}".format(int(bg)), gsval) + aimg[j] += "\x03{0},{1}{2}".format("{:02d}".format(int(fg)), "{:02d}".format(int(bg)), gsval) elif fg != 99: aimg[j] += "\x03{0}{1}".format("{:02d}".format(int(fg)), gsval) elif bg != 99: - aimg[j] += "\x03{0}{1}{2}".format("{:02d}".format(int(fg)), "{:02d}".format(int(bg)), gsval) + aimg[j] += "\x03{0},{1}{2}".format("{:02d}".format(int(fg)), "{:02d}".format(int(bg)), gsval) elif type != 'no-color' and gsval != ' ': color = self.getColor(colormap[j][i].tolist(), speed) if color != old_color: