Update plugin.py

This commit is contained in:
Gordon Shumway 2019-06-02 17:54:13 -04:00 committed by GitHub
parent ae6d6b77a6
commit 9d30da7a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ class ASCII(callbacks.Plugin):
aimg[k] += " "
else:
aimg[k] += ""
aimg[k] = re.sub("\x03\d+,(\d+)(\s+)\x03(\d+),\g<1>", "\x03\g<3>,\g<1>\g<2>", aimg[k])
aimg[k] = re.sub("\x03\d+,(\d+)(\s+)\x03(\d+),\1", "\x03\g<3>,\g<1>\g<2>", aimg[k])
k += 1
elif '1/4' in optlist:
k = 0