Permalink
Browse files

Syntax bug.

  • Loading branch information...
1 parent cea3d1c commit 44e9d0368cfe24157a80a6042614eb6f08c7cba8 @benzenwen benzenwen committed Mar 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 writer.rb
View
@@ -40,7 +40,7 @@
uristring = ENV['MONGOLAB_URI'] || 'mongodb://localhost/testdatabase'
debug = ENV['WRITER_DEBUG'] || "false"
rate = ENV['WRITER_RATE'].to_f
-if (rate = 0.0) then rate = 10.0
+if (rate = 0.0) then rate = 10.0 end
uri = URI.parse(uristring)

0 comments on commit 44e9d03

Please sign in to comment.