Fix conditional check on empty data.

Fixes issue #64
This commit is contained in:
Markus Opolka 2020-07-15 08:07:16 +02:00
parent c23ebac77a
commit 1f440e0ff5
1 changed files with 1 additions and 1 deletions

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