Browse Source

bug con doble newline

David 10 years atrás
parent
commit
aef5662560
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scripts/stats.py

+ 2 - 0
scripts/stats.py

@@ -14,6 +14,8 @@ def parseData(fin):
 	result = []
 
 	for l in fin:
+		if len(l) <= 1:
+			continue
 		ln+=1
 		vls = l.split()