Skip to content

Commit

Permalink
updates xpath validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolea PLESCO authored and Kolea PLESCO committed Apr 9, 2024
1 parent 5d2fca3 commit 6446a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ted_sws/notice_packager/services/metadata_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@ def publication_work_oj_identifier(notice_id, notice_metadata):

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

0 comments on commit 6446a16

Please sign in to comment.