1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 03:19:53 +03:00
opentx/radio/util/capitalize.py
Sean Vig 054952edcb PEP8 radio/util/capitalize.py
Split imports, fix indentation
2015-12-13 18:32:53 -06:00

9 lines
153 B
Python
Executable file

#!/usr/bin/env python
import glob
import os
for f in glob.glob("*.bmp") + glob.glob("*.BMP"):
t = f.title()
if f != t:
os.rename(f, t)