mirror of
https://github.com/btdig/dhtcrawler2.git
synced 2025-01-19 04:31:37 +00:00
turn off the damn debug log
This commit is contained in:
parent
79291ab4e9
commit
92826bf848
@ -95,9 +95,4 @@ valid_file_names(Files) ->
|
|||||||
[{valid_name(Name), Length} || {Name, Length} <- Files].
|
[{valid_name(Name), Length} || {Name, Length} <- Files].
|
||||||
|
|
||||||
valid_name(S) ->
|
valid_name(S) ->
|
||||||
ValidName = string_util:strip_invalid_unicode(S),
|
string_util:strip_invalid_unicode(S).
|
||||||
if length(ValidName) < length(S) ->
|
|
||||||
?I(?FMT("~s -> ~s", [S, ValidName]));
|
|
||||||
true -> ok
|
|
||||||
end,
|
|
||||||
ValidName.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user