Skip to content

Commit 1449947

Browse files
Update djangocms_frontend/plugin_tag.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
1 parent d69b761 commit 1449947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_frontend/plugin_tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def get_plugin_class(settings_string: str | type) -> type:
6464
"""Get the plugin class from the settings string or import it if it's a dotted path."""
6565
if isinstance(settings_string, str):
6666
if "." in settings_string:
67-
# import the class if a dotted oath is given
67+
# import the class if a dotted path is given
6868
module_name, class_name = settings_string.rsplit(".", 1)
6969
return getattr(importlib.import_module(module_name), class_name, None)
7070
# Get the plugin class from the plugin pool by its name

0 commit comments

Comments
 (0)