Skip to content

Commit

Permalink
Update xmodule/util/builtin_assets.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle McCormick <[email protected]>
  • Loading branch information
farhan and kdmccormick authored Oct 23, 2024
1 parent 2c4de30 commit 8f58637
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions xmodule/util/builtin_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ def add_css_to_fragment(fragment, css_relative_path):
* FileNotFoundError if edx-platform/xmodule/static/css-builtin-blocks/{css_relative_path} is missing.
* ImproperlyConfigured if the lookup of the static CSS URL fails. This could happen
if CSS wasn't collected, or the staticfiles app is misconfigured.
Notes:
* This function is theme-aware. That is: If a theme is enabled which provides a compiled
CSS file of the same name, then that CSS file will be used instead.
"""
if not isinstance(css_relative_path, Path):
css_relative_path = Path(css_relative_path)
Expand Down

0 comments on commit 8f58637

Please sign in to comment.