mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:42:02 +08:00
FIX: gz_file might be nil here
This commit is contained in:
parent
0725b614c9
commit
14c7aa8829
|
@ -38,7 +38,7 @@ class DiscourseIpInfo
|
|||
|
||||
FileUtils.mv(path, mmdb_path(name))
|
||||
ensure
|
||||
gz_file.close!
|
||||
gz_file&.close!
|
||||
end
|
||||
|
||||
def mmdb_load(filepath)
|
||||
|
|
Loading…
Reference in New Issue
Block a user