mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-22 08:21:14 +00:00
remove spaces inside {} of app/models/import.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20406 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a16ae9048c
commit
5b4a8087ba
@ -68,7 +68,7 @@ class Import < ActiveRecord::Base
|
||||
if file_exists?
|
||||
begin
|
||||
content = File.read(filepath, 256)
|
||||
separator = [',', ';'].sort_by {|sep| content.count(sep) }.last
|
||||
separator = [',', ';'].sort_by {|sep| content.count(sep)}.last
|
||||
rescue => e
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user