fix: [flask] fix escape import

This commit is contained in:
terrtia 2024-02-06 11:56:39 +01:00
parent 4168d07118
commit 38a918e485
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
5 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@ import uuid
import subprocess
from flask import escape
from markupsafe import escape
sys.path.append(os.environ['AIL_BIN'])
##################################

View file

@ -16,7 +16,7 @@ import time
import uuid
from enum import Enum
from flask import escape
from markupsafe import escape
sys.path.append(os.environ['AIL_BIN'])
##################################

View file

@ -16,7 +16,7 @@ from ail_typo_squatting import runAll
import math
from collections import defaultdict
from flask import escape
from markupsafe import escape
from textblob import TextBlob
from nltk.tokenize import RegexpTokenizer

View file

@ -9,7 +9,7 @@ import os
import sys
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
sys.path.append('modules')

View file

@ -27,7 +27,7 @@ from packages import Import_helper
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