Commit f123e313 authored by Zac Wood's avatar Zac Wood
Browse files

Refactor update stuff

parent f75fd259
...@@ -2,9 +2,9 @@ module Update ...@@ -2,9 +2,9 @@ module Update
FILE_NAME = "db/data/last_update.txt".freeze FILE_NAME = "db/data/last_update.txt".freeze
def self.last_update_date def self.last_update_date
begin if File.exist?(FILE_NAME)
rescue else
"Data has not yet been loaded." "Data has not yet been loaded."
end end
end end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment