Skip to content

Commit

Permalink
fix: 一个日志格式化错误
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Jun 13, 2024
1 parent 325a5b9 commit aee6b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def get_filenames_in_dir(directory):
@app.route("/api/fonts_info", methods=["GET"])
def get_fonts_info():
filenames = get_filenames_in_dir("./font_assets")
logger.info("filenames: ", filenames)
logger.info(f"filenames: {filenames}")
if filenames == []:
return jsonify({"error": "fontfile not found"}), 400
return jsonify(filenames)
Expand Down

0 comments on commit aee6b20

Please sign in to comment.