lib/openwfe/util/otime.rb in openwferu-scheduler-0.9.16 vs lib/openwfe/util/otime.rb in openwferu-scheduler-0.9.16.1404

- old
+ new

@@ -126,10 +126,11 @@ index = -1 result = 0.0 number = "" - while true + loop do + index = index + 1 if index >= string.length if number.length > 0 result = result + (Float(number) / 1000.0)