Skip to content

Commit

Permalink
string search, not number
Browse files Browse the repository at this point in the history
  • Loading branch information
MajoBerger committed Mar 7, 2024
1 parent 4dd75e1 commit a53be66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pump/_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def _import_license_defs(self, env, dspace, epersons):
'requiredInfo': lic['required_info'],
'clarinLicenseLabel': self._created_labels[str(lab_id)]
}

lic_id = str(lic_id)
if lic_id in self._license2label:
data['extendedClarinLicenseLabels'] = self._license2label[lic_id]

Expand Down

0 comments on commit a53be66

Please sign in to comment.