mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-23 18:02:29 -04:00
- in ftnstr() the argument coming in is not a python string but an
array (from fortran), it should be converted to string before using it as one. This fixes the odd zeros() problem. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@92 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
22c1dc6c79
commit
66f86c3d65
5
g.py
5
g.py
@ -10,8 +10,9 @@ showspecjt=0
|
|||||||
#------------------------------------------------------ ftnstr
|
#------------------------------------------------------ ftnstr
|
||||||
def ftnstr(x):
|
def ftnstr(x):
|
||||||
y=""
|
y=""
|
||||||
for i in range(len(x)):
|
xs=x.tostring()
|
||||||
y=y+x[i]
|
for i in range(len(xs)):
|
||||||
|
y=y+xs[i]
|
||||||
return y
|
return y
|
||||||
|
|
||||||
#------------------------------------------------------ filetime
|
#------------------------------------------------------ filetime
|
||||||
|
Loading…
x
Reference in New Issue
Block a user