fix variable

This commit is contained in:
Matt K. Fu 2013-08-29 18:08:33 +08:00
parent 27b86b078a
commit 87bc2852b3
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ namespace :site do
puts "Traffic heavy?[Default No]:......"
traffic_heavy = false
traffic_heavy = STDIN.gets.gsub("\n",'')
traffic_heavy = true if site_is_primary.downcase == 'yes'
traffic_heavy = true if traffic_heavy.downcase == 'yes'
@traffic_rate = traffic_heavy ? 2 : 1