Skip to content

Commit

Permalink
Merge pull request #55 from BBC-News/gallery_fix
Browse files Browse the repository at this point in the history
Fixed gallery
  • Loading branch information
dblooman committed Nov 7, 2013
2 parents 67cbe0b + ae44b8c commit 478fca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/wraith_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def save_images

wraith.engine.each do |type, engine|

compare_file_name = "#{wraith.directory}/#{label}/#{engine}_#{width}_#{wraith.comp_domain_label}.png"
base_file_name = "#{wraith.directory}/#{label}/#{engine}_#{width}_#{wraith.base_domain_label}.png"
compare_file_name = "#{wraith.directory}/#{label}/#{width}_#{engine}_#{wraith.comp_domain_label}.png"
base_file_name = "#{wraith.directory}/#{label}/#{width}_#{engine}_#{wraith.base_domain_label}.png"

wraith.capture_page_image engine, compare_url, width, compare_file_name
wraith.capture_page_image engine, base_url, width, base_file_name
Expand Down

0 comments on commit 478fca9

Please sign in to comment.