mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-09-12 19:51:02 +05:00
Pastebin format fix
This commit is contained in:
parent
fd035c57c2
commit
303ac0d3f5
@ -11,6 +11,7 @@ local filesystem = require("Filesystem")
|
||||
local color = require("Color")
|
||||
local number = require("Number")
|
||||
local text = require("Text")
|
||||
local event = require("Event")
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -604,7 +604,7 @@ function system.uploadToPastebin(path)
|
||||
api_option = "paste",
|
||||
api_dev_key = "fd92bd40a84c127eeb6804b146793c97",
|
||||
api_paste_expire_date = "N",
|
||||
api_paste_format = filesystem.extension(path) == ".lua" and "lua",
|
||||
api_paste_format = filesystem.extension(path) == ".lua" and "lua" or "text",
|
||||
api_paste_name = container.input.text,
|
||||
api_paste_code = filesystem.read(path),
|
||||
}))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user