refactor(merge_transactions.py): 移除用户输入提示并设置默认路径

This commit is contained in:
2026-06-08 06:48:55 +08:00
parent 4a43fbc895
commit 223000c4f1
+2 -2
View File
@@ -54,6 +54,6 @@ def merge_excel_files(input_dir):
print("未找到任何包含 '交易流水' 工作表的 Excel 文件。")
if __name__ == "__main__":
print("请输入包含 Excel 文件的目录路径:")
user_path = r"d:input"
user_path = input("> ").strip()
merge_excel_files(user_path)
merge_excel_files(user_path)