Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added space character support to color's name
  • Loading branch information
onverra committed Oct 24, 2020
1 parent 05c5ddf commit 9b631a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gimpGplPalette.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def _decode_(self,data: Union[str,bytes],index: int=0) -> None:
continue
self.colors.append((int(line[0]),int(line[1]),int(line[2])))
if len(line)>3:
self.colorNames.append(line[3])
self.colorNames.append(' '.join(line[3:]))
else:
self.colorNames.append(None)

Expand Down

0 comments on commit 9b631a1

Please sign in to comment.