Add missing list_to_binary call

This commit is contained in:
Christophe Romain 2015-03-13 17:59:19 +01:00
parent 5b9635cc07
commit aa1250a3dd
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ upgrade(Package) when is_binary(Package) ->
install(Package).
add_sources(Path) when is_list(Path) ->
add_sources(module_name(Path), Path).
add_sources(iolist_to_binary(module_name(Path)), Path).
add_sources(_, "") ->
{error, no_url};
add_sources(Module, Path) when is_atom(Module), is_list(Path) ->