From e6751e0d89d7f0419d61cc8dc5a3d55d44bcdced Mon Sep 17 00:00:00 2001 From: erwanlr Date: Sat, 25 Apr 2015 15:27:13 +0100 Subject: [PATCH] Remove potential new line at the end of .sha512 files during the update --- lib/common/db_updater.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/db_updater.rb b/lib/common/db_updater.rb index 3a2b3030..89e25089 100644 --- a/lib/common/db_updater.rb +++ b/lib/common/db_updater.rb @@ -37,7 +37,7 @@ class DbUpdater res = Browser.get(url, request_params) fail DownloadError, res if res.timed_out? || res.code != 200 - res.body + res.body.chomp end def local_file_path(filename)