Skip to content

Commit 6a900d6

Browse files
committed
Modified docstring.
1 parent a7bba34 commit 6a900d6

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

flask_blueprint_tutorial/assets.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44

55

66
def compile_static_assets(assets):
7-
"""
8-
Create stylesheet bundles.
9-
10-
:param assets: Flask-Assets Environment
11-
:type assets: Environment
12-
"""
7+
"""Create stylesheet bundles."""
138
assets.auto_build = True
149
assets.debug = False
1510
common_less_bundle = Bundle(
@@ -40,7 +35,7 @@ def compile_static_assets(assets):
4035
assets.register('home_less_bundle', home_less_bundle)
4136
assets.register('profile_less_bundle', profile_less_bundle)
4237
assets.register('product_less_bundle', product_less_bundle)
43-
if app.config['FLASK_ENV'] == 'development': # Only rebuild in development
38+
if app.config['FLASK_ENV'] == 'development':
4439
common_less_bundle.build()
4540
home_less_bundle.build()
4641
profile_less_bundle.build()

0 commit comments

Comments
 (0)