From 695945b78358c99a3eb2de1390192e21a2e3121b Mon Sep 17 00:00:00 2001 From: Jamie Greunbaum Date: Wed, 5 Jun 2024 10:30:51 -0400 Subject: [PATCH] Made a minor change to formatting. This code does not need to be two lines and I don't know why I made it that way. --- Scripts/server_bugzilla_api.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Scripts/server_bugzilla_api.gd b/Scripts/server_bugzilla_api.gd index 95eab4b..142bc30 100644 --- a/Scripts/server_bugzilla_api.gd +++ b/Scripts/server_bugzilla_api.gd @@ -237,8 +237,7 @@ func __create_header_data(content_length:int = -1) -> Array: func __validate_server_response(_response:Variant) -> int: # If the response has a message field, make the assumption that this is # because the response was an error code. - if (_response.has("error") and _response["error"] == true) or \ - _response.has("message"): + if (_response.has("error") and _response["error"] == true) or _response.has("message"): var error_data : BugbotErrorData = BugbotErrorData.new() error_data.message = _response["message"] printerr(error_data.message)