Fix merging of not yaml config files

This commit is contained in:
Paweł Chmielowski 2015-05-25 15:23:38 +02:00
parent e54e556e01
commit 3af507cc43
1 changed files with 3 additions and 1 deletions

View File

@ -391,7 +391,9 @@ include_config_files(Terms) ->
dict:store(Name, Val, Dict);
_ ->
dict:update(rest, fun(L1) -> [Pair|L1] end, Dict)
end
end;
(Tuple, Dict2) ->
dict:update(rest, fun(L2) -> [Tuple|L2] end, Dict2)
end, dict:from_list([{rest, []}]), L)
end,