Skip to content

Commit

Permalink
fix: [flask] fix escape import
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Feb 6, 2024
1 parent 4168d07 commit 38a918e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/core/ail_2_ail.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import subprocess

from flask import escape
from markupsafe import escape

sys.path.append(os.environ['AIL_BIN'])
##################################
Expand Down
2 changes: 1 addition & 1 deletion bin/lib/Investigations.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import uuid

from enum import Enum
from flask import escape
from markupsafe import escape

sys.path.append(os.environ['AIL_BIN'])
##################################
Expand Down
2 changes: 1 addition & 1 deletion bin/lib/Tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import math

from collections import defaultdict
from flask import escape
from markupsafe import escape
from textblob import TextBlob
from nltk.tokenize import RegexpTokenizer

Expand Down
2 changes: 1 addition & 1 deletion var/www/blueprints/hunters.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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')
Expand Down
2 changes: 1 addition & 1 deletion var/www/modules/restApi/Flask_restApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
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

Expand Down

0 comments on commit 38a918e

Please sign in to comment.