import sys
path = r'c:\NeoZQYY\apps\miniprogram\miniprogram\pages\board-finance\board-finance.wxss'
with open(path, 'r', encoding='utf-8') as f:
    lines = f.readlines()
# Remove line 883 (index 882): duplicate text-align: left
# Remove line 886 (index 885): extra }
# After removing 882, the old 885 becomes 884
del lines[882]  # removes duplicate text-align
del lines[884]  # removes extra } (was 885, now 884 after first delete)
with open(path, 'w', encoding='utf-8') as f:
    f.writelines(lines)
print('OK')
sys.stdout.flush()
