mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-25 10:42:20 -05:00
Removed a debug WriteLn.
This commit is contained in:
parent
12c9bb5862
commit
66c94e1fe7
@ -99,7 +99,6 @@ begin
|
|||||||
if (MessageDlg(GetName + ' ' + GetVersion + ' Extension', 'Upload this script to ' + HOST + '?', mtConfirmation, [mbYes, mbNo], 0) = mrYes) then
|
if (MessageDlg(GetName + ' ' + GetVersion + ' Extension', 'Upload this script to ' + HOST + '?', mtConfirmation, [mbYes, mbNo], 0) = mrYes) then
|
||||||
begin
|
begin
|
||||||
Data := EncodeJSON([CreateJSON('language', 'delphi'), CreateJSON('code', ScriptText), CreateJSON('private', (Lowercase(Settings.getKeyValueDef('Private', 'true')) = 'true'))])
|
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');
|
Data := GetPageEx('http://' + HOST + '/json/?method=pastes.newPaste', Data, 'application/json');
|
||||||
JSONArray := DecodeJSON(Data); //Should be 0 = id and 1 = error
|
JSONArray := DecodeJSON(Data); //Should be 0 = id and 1 = error
|
||||||
if (JSONArray[0].value_string = '') then
|
if (JSONArray[0].value_string = '') then
|
||||||
|
Loading…
Reference in New Issue
Block a user