Closed ptamarit closed 3 weeks ago
Yup, I fixed it in https://github.com/inveniosoftware/invenio-vocabularies/pull/327/files#top but this is good.
Thanks for having a look! Sorry, I was testing what was already merged, and totally missed the fix in the affiliations PR.
After seeing your fix, I actually replaced:
lang = lang if lang is not None else "en"
by:
if lang is None:
lang = "en"
Two lines, but clearer. :)
:heart: Thank you for your contribution!
Description
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Frontend
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: