Remove potential new line at the end of .sha512 files during the update
This commit is contained in:
@@ -37,7 +37,7 @@ class DbUpdater
|
|||||||
|
|
||||||
res = Browser.get(url, request_params)
|
res = Browser.get(url, request_params)
|
||||||
fail DownloadError, res if res.timed_out? || res.code != 200
|
fail DownloadError, res if res.timed_out? || res.code != 200
|
||||||
res.body
|
res.body.chomp
|
||||||
end
|
end
|
||||||
|
|
||||||
def local_file_path(filename)
|
def local_file_path(filename)
|
||||||
|
|||||||
Reference in New Issue
Block a user