Skip to content

Commit 38d696b

Browse files
committed
Add failsafe when quering remote files.
This patch fixes #413.
1 parent be5ad5d commit 38d696b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyFunceble/dataset/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ def get_content(self) -> Optional[dict]:
142142

143143
setattr(PyFunceble.storage, self.STORAGE_INDEX, content)
144144

145-
return content
145+
return content or {}

0 commit comments

Comments
 (0)