Skip to content

Commit 534adeb

Browse files
Merge pull request #297 from samuelveigarangel/fix-XMLFundingDataPipe.precond
Fix XMLFundingDataPipe.precond
2 parents 69ee744 + 67c5fb4 commit 534adeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articlemeta/export_crossref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ def _transform_translations(self, data):
12051205
class XMLFundingDataPipe(plumber.Pipe):
12061206
def precond(data):
12071207
raw, _ = data
1208-
if not raw.award_ids and not raw.project_sponsors:
1208+
if not raw.award_ids and not raw.project_sponsor:
12091209
raise plumber.UnmetPrecondition()
12101210

12111211
@staticmethod

0 commit comments

Comments
 (0)