fix line endings in hexdump2grafxpal.py
This commit is contained in:
parent
673d3836d2
commit
3d922261e1
@ -17,10 +17,10 @@ if finp_st.lower()=="--help".lower():
|
||||
print "with a hex editor like KHexEdit or any other."
|
||||
else:
|
||||
finp_fl=open(finp_st,"r");fout_fl=open(fout_st,"w");ctr=0
|
||||
while True:
|
||||
while True:
|
||||
text_st=finp_fl.readline()
|
||||
if len(text_st)==0:break
|
||||
text_st=text_st.replace("\n","")
|
||||
text_st=text_st.replace("\n","")
|
||||
while len(text_st)>0:
|
||||
bytecrop=hexvl(text_st[:2])
|
||||
bc2=int(bytecrop/4)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user