diff --git a/shuffle-tools/1.2.0/src/app.py b/shuffle-tools/1.2.0/src/app.py index 85275cf2..d78c0a76 100644 --- a/shuffle-tools/1.2.0/src/app.py +++ b/shuffle-tools/1.2.0/src/app.py @@ -1168,7 +1168,7 @@ def get_file_value(self, filedata, category=""): "reason": "File not found", } - if "data" not in filedata: + if not filedata.get("data"): return { "success": False, "reason": "File content not found. File might be empty or not exist",