From aa1250a3ddf952119982970acc8a743dda6c1041 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Fri, 13 Mar 2015 17:59:19 +0100 Subject: [PATCH] Add missing list_to_binary call --- src/ext_mod.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext_mod.erl b/src/ext_mod.erl index 99f5026d3..b2b426cec 100644 --- a/src/ext_mod.erl +++ b/src/ext_mod.erl @@ -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) ->