From 5071695c8824417f649e73182d26bae9536eb688 Mon Sep 17 00:00:00 2001 From: Maximilian Haack Date: Thu, 28 Dec 2023 17:49:28 +0100 Subject: [PATCH] Remove superfluous parenthesis --- lib/import_xlsx.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/import_xlsx.rb b/lib/import_xlsx.rb index af7a4900..0e00f075 100644 --- a/lib/import_xlsx.rb +++ b/lib/import_xlsx.rb @@ -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"