parent
32bbe893e6
commit
aa46cfbc95
1 changed files with 3 additions and 0 deletions
|
|
@ -153,6 +153,9 @@ class Display:
|
||||||
self.out(output)
|
self.out(output)
|
||||||
|
|
||||||
def parse_description(self, desc):
|
def parse_description(self, desc):
|
||||||
|
if not desc:
|
||||||
|
return "n/d"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
return html.fromstring(desc).text_content()
|
return html.fromstring(desc).text_content()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue