mostly support python 3.7, handle API rich text

This commit is contained in:
2019-04-24 15:43:14 -07:00
parent 2a9b674cc5
commit 1ed1ca1065
2 changed files with 3 additions and 3 deletions

View File

@@ -188,7 +188,7 @@ class HTMLTextParser(HTMLParser):
self.text.append(Text(data))
def handle_endtag(self, tag):
data = self.text.pop()
data = self.text.pop() if len(self.text) > 0 else Text("")
Class = self.tag_stack.pop()
if tag == 'ul' or tag =='ol':

View File

@@ -1,3 +1,3 @@
asana==0.7.0
python-dateutil==2.6.1
asana==0.8.2
python-dateutil==2.8.0
urwid==2.0.1