Explorar el Código

discard blank lines

dev
Noëlle Anthony hace 4 años
padre
commit
63db3993bc
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      pyris.py

+ 2
- 0
pyris.py Ver fichero

@@ -79,6 +79,8 @@ class CiteList:
title = False
sTitle = ""
for line in lines:
if line.strip() == "": # it's a blank line and can be discarded
continue
if line == "PT J":
cite.addType("JOUR")
if line[:2] == "AF": # we're on authors

Cargando…
Cancelar
Guardar