aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2015-03-13 17:59:19 +0100
committerChristophe Romain <christophe.romain@process-one.net>2015-03-13 17:59:19 +0100
commitaa1250a3ddf952119982970acc8a743dda6c1041 (patch)
treed34be966e50e1aa72d6ee168a3aa7de40cd28c69
parentAdd contributed modules code path on start (diff)
Add missing list_to_binary call
-rw-r--r--src/ext_mod.erl2
1 files changed, 1 insertions, 1 deletions
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) ->