Skip to content

Commit

Permalink
Merge pull request #13 from twiden/spelling-errors
Browse files Browse the repository at this point in the history
Spelling errors
  • Loading branch information
bcarlin committed Dec 21, 2014
2 parents c9ddb23 + 9125a21 commit c18524d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions flaskext/scss.py
Expand Up @@ -27,9 +27,9 @@ def __init__(self, app, static_dir=None, asset_dir=None, load_paths=None):
:param app: Your Flask Application
:param static_dir: The path to the ``static`` directory of your
application (optionnal)
application (optional)
:param asset_dir: The path to the ``assets`` directory where Flask-Scss
will search ``.scss`` files (optionnal)
will search ``.scss`` files (optional)
:param load_paths: A list of folders to add to pyScss load_paths
(for ex., the path to a library like Compass)
'''
Expand Down Expand Up @@ -123,8 +123,7 @@ def update_scss(self):
self.compile_scss(asset, dest_path)

def compile_scss(self, asset, dest_path):
self.app.logger.info("[flask-pyscss] refreshing %s" \
% (dest_path,))
self.app.logger.info("[flask-pyscss] refreshing %s" % (dest_path,))
if not os.path.exists(op.dirname(dest_path)):
os.makedirs(op.dirname(dest_path))
with open(dest_path, 'w') as fo:
Expand Down

0 comments on commit c18524d

Please sign in to comment.