Skip to content

Commit

Permalink
fix default challenge specification
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Nov 3, 2024
1 parent fdcefb5 commit ef76e0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pwnshop/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ def f_with_challenge(args):
challenges = [
challenge_class(challenge=c)(seed=args.seed, walkthrough=args.walkthrough)
for c in args.challenges
] if args.challenges else pwnshop.ALL_CHALLENGES.values()
] if args.challenges else [
c(seed=args.seed, walkthrough=args.walkthrough)
for c in pwnshop.ALL_CHALLENGES.values()
]
return f(args, challenges)
return f_with_challenge

Expand Down

0 comments on commit ef76e0f

Please sign in to comment.