1/2 block remove regex

This commit is contained in:
Gordon Shumway 2019-06-02 20:15:24 -04:00 committed by GitHub
parent 755bea0e80
commit 2740bcec48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -633,7 +633,6 @@ class ASCII(callbacks.Plugin):
aimg[k] += " "
else:
aimg[k] += ""
aimg[k] = re.sub("(?i)(?<=\x03\d,{0})(\s+)(\x03\d+,{0})|(?<=\x03\d\d,{0})(\s+)(\x03\d+,{0})".format(color.split(',')[1]), "\g<2>\g<1>", aimg[k])
k += 1
elif '1/4' in optlist:
k = 0