mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 10:23:41 +02:00
oops
This commit is contained in:
parent
b1dea424fe
commit
3f0099a2e1
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ def lrs_color(html_color):
|
|||
if match:
|
||||
return '0x00'+hex(int(match.group(1)))[2:]+hex(int(match.group(2)))[2:]+hex(int(match.group(3)))[2:]
|
||||
if hcol in NAME_MAP:
|
||||
return NAME_MAP[hcol]
|
||||
return NAME_MAP[hcol].replace('#', '0x00')
|
||||
return '0x00000000'
|
||||
|
||||
|
||||
Loading…
Reference in a new issue