import re import sys def main(): with open('app/modules/sag/templates/detail.html', 'r', encoding='utf-8') as f: html = f.read() # Step 1: Remove max-width: 1400px html = html.replace( '
', '
' ) with open('app/modules/sag/templates/detail.html', 'w', encoding='utf-8') as f: f.write(html) print("Base container updated.") if __name__ == '__main__': main()