MiRCARTCanvasImportStore.py:_parseCharAsColourSpec(): correctly process mIRC colour control code sequences specifying one single colour.

MiRCARTToPngFile.py:export(): fix indentation.
This commit is contained in:
Lucio Andrés Illanes Albornoz 2018-01-11 23:13:46 +01:00
parent d79ea00164
commit 1511002798
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class MiRCARTCanvasImportStore():
return (int(colourSpec[0] or curColours[0]), \ return (int(colourSpec[0] or curColours[0]), \
int(colourSpec[1])) int(colourSpec[1]))
elif len(colourSpec) == 1: elif len(colourSpec) == 1:
return (int(colourSpec[0]), curColours[0]) return (int(colourSpec[0]), curColours[1])
else: else:
return (15, 1) return (15, 1)
# }}} # }}}