mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-29 09:17:16 +00:00
fix: [flask] fix escape import
This commit is contained in:
parent
4168d07118
commit
38a918e485
5 changed files with 5 additions and 5 deletions
|
@ -11,7 +11,7 @@ import uuid
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
from flask import escape
|
from markupsafe import escape
|
||||||
|
|
||||||
sys.path.append(os.environ['AIL_BIN'])
|
sys.path.append(os.environ['AIL_BIN'])
|
||||||
##################################
|
##################################
|
||||||
|
|
|
@ -16,7 +16,7 @@ import time
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from flask import escape
|
from markupsafe import escape
|
||||||
|
|
||||||
sys.path.append(os.environ['AIL_BIN'])
|
sys.path.append(os.environ['AIL_BIN'])
|
||||||
##################################
|
##################################
|
||||||
|
|
|
@ -16,7 +16,7 @@ from ail_typo_squatting import runAll
|
||||||
import math
|
import math
|
||||||
|
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
from flask import escape
|
from markupsafe import escape
|
||||||
from textblob import TextBlob
|
from textblob import TextBlob
|
||||||
from nltk.tokenize import RegexpTokenizer
|
from nltk.tokenize import RegexpTokenizer
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import os
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from flask import render_template, jsonify, request, Blueprint, redirect, url_for, Response, escape, abort
|
from flask import render_template, jsonify, request, Blueprint, redirect, url_for, Response, abort
|
||||||
from flask_login import login_required, current_user, login_user, logout_user
|
from flask_login import login_required, current_user, login_user, logout_user
|
||||||
|
|
||||||
sys.path.append('modules')
|
sys.path.append('modules')
|
||||||
|
|
|
@ -27,7 +27,7 @@ from packages import Import_helper
|
||||||
from importer.FeederImporter import api_add_json_feeder_to_queue
|
from importer.FeederImporter import api_add_json_feeder_to_queue
|
||||||
|
|
||||||
|
|
||||||
from flask import jsonify, request, Blueprint, redirect, url_for, Response, escape
|
from flask import jsonify, request, Blueprint, redirect, url_for, Response
|
||||||
|
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue