feat: server connect mongo
This commit is contained in:
@@ -10,8 +10,15 @@
|
||||
python clean_bill.py 账单.csv --start 2026-01-01 --end 2026-01-15
|
||||
"""
|
||||
import sys
|
||||
import io
|
||||
from pathlib import Path
|
||||
|
||||
# 解决 Windows 控制台编码问题
|
||||
if sys.stdout.encoding != 'utf-8':
|
||||
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace')
|
||||
if sys.stderr.encoding != 'utf-8':
|
||||
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8', errors='replace')
|
||||
|
||||
from cleaners.base import create_arg_parser, compute_date_range
|
||||
from cleaners import AlipayCleaner, WechatCleaner
|
||||
|
||||
|
||||
Reference in New Issue
Block a user