Explorar el Código

Fix confusing output for skipped lines

master
JustAnotherArchivist hace 1 año
padre
commit
725db7d05d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      sum-sizes

+ 1
- 1
sum-sizes Ver fichero

@@ -44,7 +44,7 @@ units = {
}
sum = 0
for line in sys.stdin:
origLine = line
origLine = line.rstrip('\r\n')
line = re.sub(r'\s+', '', line.strip())
line = re.sub(r'([a-zA-Z])', r' \1', line, count = 1)
if ' ' in line:


Cargando…
Cancelar
Guardar