diff --git a/lokrez/__init__.py b/lokrez/__init__.py index dbd19df..c02efe4 100644 --- a/lokrez/__init__.py +++ b/lokrez/__init__.py @@ -175,11 +175,18 @@ def main(): "players" : sorted( top_players.values(), key = lambda p: p.placement, - ) + ), + "imgdir_ssbu_chars": os.path.join( + args.resourcesdir, + "ssbu", + "Super Smash Bros Ultimate", + "Fighter Portraits", + ), + } - if args.oufile is None: + if args.outfile is None: args.outfile = "{}.svg".format(tournament.slug) jj2_tpl.stream(context).dump( args.outfile )