turn off the damn debug log

This commit is contained in:
Kevin Lynx 2013-08-01 23:20:02 +08:00
parent 79291ab4e9
commit 92826bf848

View File

@ -95,9 +95,4 @@ valid_file_names(Files) ->
[{valid_name(Name), Length} || {Name, Length} <- Files].
valid_name(S) ->
ValidName = string_util:strip_invalid_unicode(S),
if length(ValidName) < length(S) ->
?I(?FMT("~s -> ~s", [S, ValidName]));
true -> ok
end,
ValidName.
string_util:strip_invalid_unicode(S).