From 66c94e1fe78d01d53f9e729aef757897e9432f35 Mon Sep 17 00:00:00 2001 From: Dgby714 Date: Sun, 26 Sep 2010 17:16:56 -0400 Subject: [PATCH] Removed a debug WriteLn. --- Extensions/paster.sex | 1 - 1 file changed, 1 deletion(-) diff --git a/Extensions/paster.sex b/Extensions/paster.sex index 6d196c5..c55a354 100644 --- a/Extensions/paster.sex +++ b/Extensions/paster.sex @@ -99,7 +99,6 @@ begin if (MessageDlg(GetName + ' ' + GetVersion + ' Extension', 'Upload this script to ' + HOST + '?', mtConfirmation, [mbYes, mbNo], 0) = mrYes) then begin Data := EncodeJSON([CreateJSON('language', 'delphi'), CreateJSON('code', ScriptText), CreateJSON('private', (Lowercase(Settings.getKeyValueDef('Private', 'true')) = 'true'))]) - WriteLn(Data); Data := GetPageEx('http://' + HOST + '/json/?method=pastes.newPaste', Data, 'application/json'); JSONArray := DecodeJSON(Data); //Should be 0 = id and 1 = error if (JSONArray[0].value_string = '') then