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()
# line 883 (0-indexed 882) is the closing }
# insert align-items before it
lines[882] = '  text-align: left;\n  align-items: flex-start;\n}\n'
with open(path, 'w', encoding='utf-8') as f:
    f.writelines(lines)
print('OK')
sys.stdout.flush()
