Skip to content
Snippets Groups Projects
Commit ed309b67 authored by anonymous's avatar anonymous
Browse files

bugfix for last commit

parent 8546f4a5
No related tags found
No related merge requests found
...@@ -111,7 +111,7 @@ def resource_formats(): ...@@ -111,7 +111,7 @@ def resource_formats():
g.parse(urlresponse) g.parse(urlresponse)
# At the moment, there are 143 different file types listed, # At the moment, there are 143 different file types listed,
# if less than 120 are found, something went wrong. # if less than 120 are found, something went wrong.
if len(set([s for s in g.subjects()])) > 120: if len(set([s for s in g.subjects()])) < 120:
raise ValueError("Not enough subjects") raise ValueError("Not enough subjects")
# Save the content as backup # Save the content as backup
if sys.version_info[0] == 2: if sys.version_info[0] == 2:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment