Skip to content

Commit

Permalink
Merge pull request #71 from helloflask/fix-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli authored Nov 27, 2023
2 parents bb137c4 + fe04973 commit e987fb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flask_ckeditor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
from flask import current_app, Blueprint, url_for, request, jsonify, render_template_string
from markupsafe import Markup

from flask_ckeditor.fields import CKEditorField # noqa
try:
from flask_ckeditor.fields import CKEditorField # noqa
except ImportError:
warnings.warn('Flask-WTF or WTForms is not installed, CKEditorField will not be available.')
from flask_ckeditor.utils import get_url, random_filename # noqa


Expand Down

0 comments on commit e987fb4

Please sign in to comment.