File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 77static
88. * cache
99profiling
10+ venv
1011
1112# coverage stuff
1213.coverage
Original file line number Diff line number Diff line change @@ -35,16 +35,21 @@ def __init__(
3535 storage_method = None ,
3636 cors_origins = [],
3737 custom_static = dict (),
38- * args ,
39- ** kwargs
38+ static_folder = static_folder ,
39+ static_url_path = "" ,
4040 ):
4141 name = "aw-server"
4242 self .json_provider_class = CustomJSONProvider
4343 # only prettyprint JSON if testing (due to perf)
4444 self .json_provider_class .compact = not testing
4545
4646 # Initialize Flask
47- Flask .__init__ (self , name , * args , ** kwargs )
47+ Flask .__init__ (
48+ self ,
49+ name ,
50+ static_folder = static_folder ,
51+ static_url_path = static_url_path ,
52+ )
4853 self .config ["HOST" ] = host # needed for host-header check
4954 with self .app_context ():
5055 _config_cors (cors_origins , testing )
You can’t perform that action at this time.
0 commit comments