lib/cryptum/option.rb in cryptum-0.0.246 vs lib/cryptum/option.rb in cryptum-0.0.247
- old
+ new
@@ -87,11 +87,11 @@
unless Dir.exist?(option_choice.repo_root)
usage = true
reason = :repo_root
end
- option_choice.market_trend_reset = 86_400 if option_choice.market_trend_reset.zero?
- unless option_choice.market_trend_reset.to_f.positive?
+ option_choice.market_trend_reset = 86_400 if option_choice.market_trend_reset.to_i.zero?
+ unless option_choice.market_trend_reset.to_i.positive?
usage = true
reason = :market_trend_reset
end
if usage