ソースを参照

discard blank lines

dev
Noëlle Anthony 4年前
コミット
63db3993bc
1個のファイルの変更2行の追加0行の削除
  1. 2
    0
      pyris.py

+ 2
- 0
pyris.py ファイルの表示

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

読み込み中…
キャンセル
保存