diff --git a/tools/hexdump2grafxpal.py b/tools/hexdump2grafxpal.py index 39986eb6..0369d6d8 100644 --- a/tools/hexdump2grafxpal.py +++ b/tools/hexdump2grafxpal.py @@ -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)