mirror of
https://github.com/TangentFoxy/.lua-files.git
synced 2024-11-20 21:34:23 +00:00
minor typo fixes
This commit is contained in:
parent
811e08f963
commit
6b82e4e8d6
@ -20,7 +20,7 @@ Requirements:
|
|||||||
- Binaries: pandoc, curl
|
- Binaries: pandoc, curl
|
||||||
|
|
||||||
For how to write a configuration and examples, see the .lua-files README:
|
For how to write a configuration and examples, see the .lua-files README:
|
||||||
https://github.com/TangentFoxy/.lua-files
|
https://github.com/TangentFoxy/.lua-files#make-epublua
|
||||||
]]
|
]]
|
||||||
|
|
||||||
local success, utility = pcall(function()
|
local success, utility = pcall(function()
|
||||||
@ -61,12 +61,6 @@ local function get_config()
|
|||||||
config = json.decode(raw_config)
|
config = json.decode(raw_config)
|
||||||
file:close()
|
file:close()
|
||||||
|
|
||||||
-- authors wasn't being loaded correctly and I accidentally fixed it while trying to find what was wrong..
|
|
||||||
-- for k,v in pairs(config) do
|
|
||||||
-- print(k,v)
|
|
||||||
-- end
|
|
||||||
-- print("config done")
|
|
||||||
|
|
||||||
if not config.authors then
|
if not config.authors then
|
||||||
config.authors = {} -- at least have an empty table so it doesn't error below TODO verify that this is actually true
|
config.authors = {} -- at least have an empty table so it doesn't error below TODO verify that this is actually true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user