Update plugin.py

This commit is contained in:
Gordon Shumway 2019-11-20 22:20:46 -05:00 committed by GitHub
parent 2675859e45
commit b16818a833
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1027,7 +1027,7 @@ class ASCII(callbacks.Plugin):
old_char = gsval
else:
old_char = '^^▀'
aimg[k] = re.sub("\x03\d\d,(\d\d\s+\x03)|\x03\d\d,(\d\d\s+)$", "\x0301,\g<1>", aimg[k])
#aimg[k] = re.sub("\x03\d\d,(\d\d\s+\x03)|\x03\d\d,(\d\d\s+)$", "\x0301,\g<1>", aimg[k])
aimg[k] = re.sub("\x0301,(\d\d)(\s+)\x03(\d\d)([^,])", "\x03\g<3>,\g<1>\g<2>\g<4>", aimg[k])
for i in range(0,98):
i = '%02d' % i