FIX: gz_file might be nil here

This commit is contained in:
Michael Brown 2019-05-24 16:11:10 -04:00
parent 0725b614c9
commit 14c7aa8829

View File

@ -38,7 +38,7 @@ class DiscourseIpInfo
FileUtils.mv(path, mmdb_path(name))
ensure
gz_file.close!
gz_file&.close!
end
def mmdb_load(filepath)