Merge pull request #66 from drewkerrigan/array-bug

Fix conditional check on empty data.
This commit is contained in:
Markus Opolka
2020-09-14 10:36:14 +02:00
committed by GitHub

View File

@@ -152,7 +152,7 @@ class JsonHelper:
(Element.Key.NestedKey). Returns (None, 'not_found') if not found
"""
if temp_data:
if temp_data != '':
data = temp_data
else:
data = self.data