Import Yelp with instructions from github yelp-graph-algorithms


I've been trying to import the newest Yelp Dataset into Neo4j with the instructions provided in the yelp-graph-algorithms github.

However, when I give the command "python ", I'm getting the following error:

Traceback (most recent call last):
File "", line 112, in
for category in item["categories"]:
TypeError: 'NoneType' object is not iterable
which may seem simple but I can't fix it (my python knowledge is near to non-existent).

Is it something obvious that I'm missing?