Skip to content

Commit

Permalink
Merge pull request sharkipedia#1100 from sharkipedia/fix-style
Browse files Browse the repository at this point in the history
Remove superfluous parenthesis
  • Loading branch information
coffeejunk authored Dec 28, 2023
2 parents d24db55 + 5071695 commit 9d0c1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/import_xlsx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def import

# Latitude has a space at the end
location = Location.find_or_create_by name: row["Dataset_location"],
lat: (row["Latitude"] || row["Latitude "]),
lat: row["Latitude"] || row["Latitude "],
lon: row["Longitude"]
self.log += "#{location.inspect}\n"

Expand Down

0 comments on commit 9d0c1c6

Please sign in to comment.