Skip to content

Commit

Permalink
multiple kwargs in apps
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 14, 2016
1 parent 1de3a3a commit 9befb87
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/examples/app.py
Expand Up @@ -43,8 +43,12 @@

class BudyApp(appier.WebApp):

def __init__(self):
appier.WebApp.__init__(self, name = "budy")
def __init__(self, *args, **kwargs):
appier.WebApp.__init__(
self,
name = "budy",
*args, **kwargs
)

@appier.route("/", "GET")
def index(self):
Expand Down

0 comments on commit 9befb87

Please sign in to comment.