don't save things to img_dir

dev
Andy Meneely 2020-11-23 11:07:55 -05:00
parent 754636de39
commit 02d02ac125
1 changed files with 7 additions and 10 deletions

View File

@ -29,7 +29,6 @@ module Squib
def run(opts) def run(opts)
warn_if_unexpected opts warn_if_unexpected opts
Dir.chdir(deck.img_dir) do
range = Args.extract_range opts, deck range = Args.extract_range opts, deck
batch = Args.extract_save_batch opts, deck batch = Args.extract_save_batch opts, deck
@bar.start("Saving PNGs to #{batch.summary}", deck.size) do |bar| @bar.start("Saving PNGs to #{batch.summary}", deck.size) do |bar|
@ -37,11 +36,9 @@ module Squib
deck.cards[i].save_png(batch[i]) deck.cards[i].save_png(batch[i])
bar.increment bar.increment
end end
end
end end
end end
end end
end
end
end end