Little cleanup
This commit is contained in:
parent
689f17cfd7
commit
60b58301d3
1 changed files with 0 additions and 2 deletions
|
@ -251,7 +251,6 @@ def xhtml_to_poezio_colors(text):
|
||||||
key, value = rule.split(':', 1)
|
key, value = rule.split(':', 1)
|
||||||
key = key.strip()
|
key = key.strip()
|
||||||
value = value.strip()
|
value = value.strip()
|
||||||
log.debug(value)
|
|
||||||
if key == 'background-color':
|
if key == 'background-color':
|
||||||
pass#shell += '\x191'
|
pass#shell += '\x191'
|
||||||
elif key == 'color':
|
elif key == 'color':
|
||||||
|
@ -274,7 +273,6 @@ def xhtml_to_poezio_colors(text):
|
||||||
def trim(string):
|
def trim(string):
|
||||||
return re.sub(whitespace_re, ' ', string)
|
return re.sub(whitespace_re, ' ', string)
|
||||||
|
|
||||||
log.debug(text)
|
|
||||||
xml = ET.fromstring(text)
|
xml = ET.fromstring(text)
|
||||||
message = ''
|
message = ''
|
||||||
if version_info[1] == 2:
|
if version_info[1] == 2:
|
||||||
|
|
Loading…
Reference in a new issue