Przeglądaj źródła

Bug fix with display & format function

Steve L. Nyemba 8 lat temu
rodzic
commit
59c0d0e4a4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/monitor.py

+ 1 - 1
src/monitor.py

@@ -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()
 		
 
 """