We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3311c3 commit 516b0b7Copy full SHA for 516b0b7
scripts/1-fetch/gcs_fetched.py
@@ -194,10 +194,9 @@ def get_license_list(args):
194
license_list.append(
195
f"https://creativecommons.org/{match.group(1)}"
196
)
197
- return list(set(license_list))[
198
- : args.licenses
199
- ] # Only the first license for testing
200
- # Change [:1] to [args.licenses] later, to limit based on args
+ license_list = list(set(license_list))
+ license_list.sort()
+ return license_list[: args.licenses]
201
202
203
def get_country_list(select_all=False):
0 commit comments