Module:AocUtils: Difference between revisions
no edit summary
imported>Leoetlino No edit summary |
imported>Leoetlino No edit summary |
||
Line 55: | Line 55: | ||
function pack.get_aoc_canonical_path(frame) | function pack.get_aoc_canonical_path(frame) | ||
path = frame.args['path'] | path = frame.args['path'] | ||
if not path then | |||
return "" | |||
end | |||
if should_use_aoc_file_device(path) then | if should_use_aoc_file_device(path) then | ||
return "Aoc/0010/" + path | return "Aoc/0010/" + path |