Skip to content

Commit 6446a16

Browse files
Kolea PLESCOKolea PLESCO
authored andcommitted
updates xpath validator
1 parent 5d2fca3 commit 6446a16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ted_sws/notice_packager/services/metadata_transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ def publication_work_oj_identifier(notice_id, notice_metadata):
144144

145145
def filled_ojs_issue_number(ojs_issue_number: str) -> str:
146146
# just return the number without any preceding 0 (leaved the formula as it is in case of revert)
147-
return ojs_issue_number.zfill(0)
147+
return ojs_issue_number.split('/')[0].zfill(0)

0 commit comments

Comments
 (0)