MCPcopy Create free account
hub / github.com/NatsUIJM/autoContents / home

Function home

app.py:89–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 return jsonify({'status': 'error', 'message': '未选择 PDF 文件'})
88
89 original_filename = pdf_file.filename
90 staged_name = pinyin_name(original_filename)
91
92 pdf_path = os.path.join(base_dir, 'input_pdf', staged_name)
93 pdf_file.save(pdf_path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected