Import Yelp with instructions from github yelp-graph-algorithms

Hi,

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 json_to_csv.py ", I'm getting the following error:

Traceback (most recent call last):
File "json_to_csv.py", 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?