Ver código fonte

Merge pull request #4 from joyeusenoelle/dev

discard blank lines
master
Noëlle Anthony 6 anos atrás
pai
commit
cf0c9ae274
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      pyris.py

+ 2
- 0
pyris.py Ver arquivo

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

Carregando…
Cancelar
Salvar