Revert changes from previous commit
This commit is contained in:
parent
5888f1ba44
commit
b902fe10ae
1 changed files with 1 additions and 3 deletions
|
@ -43,7 +43,7 @@ module Import
|
|||
end
|
||||
|
||||
def display_path(folder)
|
||||
display_name = folder.display_name.utf8_encode
|
||||
display_name = folder.display_name.utf8_encode(fallback: :read_as_sanitized_binary)
|
||||
parent_folder = find(folder.parent_folder_id)
|
||||
|
||||
return display_name if parent_folder.blank?
|
||||
|
@ -51,8 +51,6 @@ module Import
|
|||
"#{display_path(parent_folder)} -> #{display_name}"
|
||||
rescue Viewpoint::EWS::EwsError
|
||||
display_name
|
||||
rescue EncodingError
|
||||
'(undetectable encoding)'
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue