Skip to content

Commit

Permalink
fix Bottle app initialization
Browse files Browse the repository at this point in the history
Bottle 0.13.0 requires Bottle instances to be initialized with
keyword arguments only. Previously, we were using a positional
argument. This usage was wrong (passing the __name__ string as
a catchall boolean parameter), so it's removed.
  • Loading branch information
contrast-jproberts committed Sep 5, 2024
1 parent c9a22f4 commit edc9479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/bottle_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from vulnpy.bottle import add_vulnerable_routes


app = Bottle(__name__)
app = Bottle()
add_vulnerable_routes(app)


Expand Down

0 comments on commit edc9479

Please sign in to comment.