Skip to content

Commit 96b49a8

Browse files
authored
fix: use new import path for secure_filename
1 parent 5cc2115 commit 96b49a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opt_rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from flask import Flask, jsonify, request, send_file, render_template, Response, send_from_directory
2-
from werkzeug import secure_filename
2+
from werkzeug.utils import secure_filename
33
from ruamel import yaml
44

55
import logging

0 commit comments

Comments
 (0)