github.lua: description fix
This commit is contained in:
parent
aba8b43a76
commit
bb4cb04533
@ -24,7 +24,11 @@ end
|
|||||||
function github:send_github_data(data)
|
function github:send_github_data(data)
|
||||||
if not data.owner then return nil end
|
if not data.owner then return nil end
|
||||||
local name = '<b>'..data.name..'</b>'
|
local name = '<b>'..data.name..'</b>'
|
||||||
local description = '<i>'..data.description..'</i>'
|
if data.description then
|
||||||
|
description = '<i>'..data.description..'</i>'
|
||||||
|
else
|
||||||
|
description = ''
|
||||||
|
end
|
||||||
local owner = data.owner.login
|
local owner = data.owner.login
|
||||||
local clone_url = data.clone_url
|
local clone_url = data.clone_url
|
||||||
if data.language == nil or data.language == "" then
|
if data.language == nil or data.language == "" then
|
||||||
|
Reference in New Issue
Block a user