Missing period.

This commit is contained in:
Lee Baird 2019-01-13 21:19:40 -06:00
parent 7fef0cb0ca
commit 5bc000296d

View file

@ -51,7 +51,7 @@ def crawl(self, text):
if isinstance(val, int) or isinstance(val, dict) or val is None:
continue
if isinstance(val, list):
if len(val) == 0: # Make sure not indexing an empty list
if len(val) == 0: # Make sure not indexing an empty list.
continue
val = val[0] # First value should be dict.
if isinstance(val, dict): # Sanity check.