This website works better with JavaScript.
Home
Explore
Help
Sign In
noelle
/
pyris
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#4
from joyeusenoelle/dev
discard blank lines
master
Noëlle Anthony
5 years ago
parent
4e1f06564e
63db3993bc
commit
cf0c9ae274
No account linked to committer's email address
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
pyris.py
+ 2
- 0
pyris.py
View File
@@ -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
Write
Preview
Loading…
Cancel
Save