Skip to content

Commit

Permalink
fixed houndci-bot comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Ott committed Nov 20, 2016
1 parent 3bd27f3 commit d34386b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/geokit/net_adapter/typhoeus.rb
Expand Up @@ -2,7 +2,7 @@ module Geokit
module NetAdapter
class Typhoeus
def self.do_get(url)
Geokit::Geocoders.useragent ? headers = {'User-Agent' => Geokit::Geocoders.useragent} : headers = {}
headers = Geokit::Geocoders.useragent ? {'User-Agent' => Geokit::Geocoders.useragent} : {}
::Typhoeus.get(url.to_s, :headers => headers)
end

Expand Down

0 comments on commit d34386b

Please sign in to comment.