Fix AC/DC, Panic At The Disco bugs

This commit is contained in:
magnolia-fan
2011-11-24 02:12:15 +04:00
parent 83dd697fb9
commit 3205af0be6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ private
response = nil
5.times do
begin
response = open(url, "User-Agent" => USER_AGENT)
response = open(URI.encode(url), "User-Agent" => USER_AGENT)
@@last_query_time = Time.now.to_f
rescue => e
return nil if e.io.status[0].to_i == 404