minor cleanup

This commit is contained in:
2026-05-10 16:05:00 -04:00
parent f58599a774
commit c4122503a1
12 changed files with 0 additions and 301 deletions
+11
View File
@@ -0,0 +1,11 @@
import sys
with open('config.toml', 'rb') as f:
data = f.read()
BOM = bytes([0xef, 0xbb, 0xbf])
if data.startswith(BOM):
with open('config.toml', 'wb') as f:
f.write(data[3:])
print('BOM removed')
else:
print('No BOM found')
sys.exit(0)