mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
Code cleanup
This commit is contained in:
parent
fd8761177f
commit
430a6a8432
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ module Agents
|
|||
options[:extract].keys.each do |name|
|
||||
result[name] = output[name][index]
|
||||
if name.to_s == 'url'
|
||||
result[name] = URI.join( options[:url], result[name]).to_s if (result[name] =~ URI::DEFAULT_PARSER.regexp[:ABS_URI]).nil?
|
||||
result[name] = URI.join(options[:url], result[name]).to_s if (result[name] =~ URI::DEFAULT_PARSER.regexp[:ABS_URI]).nil?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue