Bug fix with display & format function

community
Steve L. Nyemba 8 years ago
parent 46d26ee095
commit 59c0d0e4a4

@ -31,7 +31,7 @@ class Analysis:
def getName(self):
return self.__class__.__name__
def format(self,text):
return re.sub('([0-9]+[a-zA-Z]*)|[^a-zA-Z\s:]',' ',text).strip()
return re.sub('([0-9]+[a-zA-Z]*)|[^a-zA-Z\s:]',' ',str(text)).strip()
"""

Loading…
Cancel
Save