diff --git a/fedn/network/api/interface.py b/fedn/network/api/interface.py index eeaff3e0..6031051c 100644 --- a/fedn/network/api/interface.py +++ b/fedn/network/api/interface.py @@ -276,7 +276,7 @@ def get_compute_package(self): :rtype: :class:`flask.Response` """ result = self.statestore.get_compute_package() - if result is None: + if result is None or "file_name" not in result: return ( jsonify({"success": False, "message": "No compute package found."}), 404,