aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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) ->