DB Update: fixes a bug due to .chomp, Adds verbose output

This commit is contained in:
erwanlr
2014-09-12 19:18:56 +02:00
parent f818778e0a
commit 3e94ca11df
3 changed files with 22 additions and 13 deletions

View File

@@ -94,12 +94,6 @@ def missing_db_file?
false
end
def update_db
print 'Updating the DB ...'
DbUpdater.new(DATA_DIR).update
puts ' Done.'
end
# Define colors
def colorize(text, color_code)
if $COLORSWITCH