Module:AocUtils: Difference between revisions
no edit summary
imported>Leoetlino (fix string concatenation) |
imported>Leoetlino No edit summary |
||
Line 55: | Line 55: | ||
function pack.get_aoc_canonical_path(frame) | function pack.get_aoc_canonical_path(frame) | ||
local path = frame.args.path | local path = frame.args.path | ||
local aoc_only = frame.args.aoc_only or | local aoc_only = tonumber(frame.args.aoc_only or 0) | ||
if not path then | if not path then | ||
return "(unknown)" | return "(unknown)" |