OSDN Git Service

fixed 0.0.3
authornomeu <nomeu@users.sourceforge.jp>
Wed, 6 Jul 2011 16:31:03 +0000 (01:31 +0900)
committernomeu <nomeu@users.sourceforge.jp>
Wed, 6 Jul 2011 16:31:03 +0000 (01:31 +0900)
lib/bowl.rb

index 6b0a1ff..8eff655 100644 (file)
@@ -35,7 +35,7 @@ class Bowl
     http = Net::HTTP.new('bowlroll.net')
     http.start do
       http.request_get("/up/#{code}") do |response|
-        open(src_path(code), 'wb') { |f|
+        open(src_path, 'wb') { |f|
           response.read_body { |buf| f.write buf }
         }
       end