Read values out of a config file instead of hardcoding them. Further streamline common tasks in a new base config class.
This commit is contained in:
parent
606f27185c
commit
057ac98843
11 changed files with 83 additions and 69 deletions
|
|
@ -23,7 +23,7 @@ class Thumb(dcc.doom_base.WadMap):
|
|||
bi.composite(mdi, gravity="north_west")
|
||||
|
||||
if parsed_args.index:
|
||||
with wand.image.Image(filename=dcc.config.OUTPUT.joinpath("doomed_index.png")) as di:
|
||||
with wand.image.Image(filename=self.output.joinpath("doomed_index.png")) as di:
|
||||
di.border(tc, 1, 1)
|
||||
bi.composite(di, gravity="north_east")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue