diff --git a/bioblend/galaxyclient.py b/bioblend/galaxyclient.py index 25ebb6166..bbd179373 100644 --- a/bioblend/galaxyclient.py +++ b/bioblend/galaxyclient.py @@ -255,7 +255,7 @@ def make_put_request(self, url: str, payload: Optional[dict] = None, params: Opt status_code=r.status_code, ) elif r.status_code == 204: - return {} + return None # @see self.body for HTTP response body raise ConnectionError( f"Unexpected HTTP status code: {r.status_code}",