Bläddra i källkod

Merge pull request #4 from joyeusenoelle/dev

discard blank lines
master
Noëlle Anthony 4 år sedan
förälder
incheckning
cf0c9ae274
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2
    0
      pyris.py

+ 2
- 0
pyris.py Visa fil

@@ -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

Laddar…
Avbryt
Spara