PEP8 fixes on convert_precision.py

This commit is contained in:
Paul Romano 2013-09-02 17:11:30 -04:00
parent a522e0d040
commit a8bc52e07a

View file

@ -1,4 +1,4 @@
#!/bin/sh env python
#!/usr/bin/env python
import os
import glob
@ -14,10 +14,10 @@ for adir in dirs:
if len(files) > 0:
files = files[0]
with open(files,'r') as fh:
with open(files, 'r') as fh:
intxt = fh.read()
intxt = intxt.replace('14.8E','12.6E')
with open(files,'w') as fh:
intxt = intxt.replace('14.8E', '12.6E')
with open(files, 'w') as fh:
fh.write(intxt)
os.chdir('..')