From e2e92a7076990f78cfb7e633919c3fa7b61734db Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Tue, 16 Jul 2019 22:56:47 -0400 Subject: [PATCH] process_ansi: fix color1/color2 variable switch --- ASCII/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index 97d216c..0167854 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -619,12 +619,12 @@ class ASCII(callbacks.Plugin): continue elif int(ansi[i]) > 29 and int(ansi[i]) < 38: if effect == 1 or ansi[-1] == '1': - x16color2 = self.x16colors['{0};1'.format(ansi[i])] + x16color1 = self.x16colors['{0};1'.format(ansi[i])] effect = None i += 1 continue else: - x16color2 = self.x16colors[ansi[i]] + x16color1 = self.x16colors[ansi[i]] i += 1 continue elif int(ansi[i]) > 39 and int(ansi[i]) < 48: