We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e11f82 commit b204194Copy full SHA for b204194
cat/consensus.py
@@ -911,8 +911,9 @@ def convert_attrs(attrs, id_field):
911
# convert empty strings into nan
912
attrs_str = []
913
for key, val in attrs.items():
914
+ val = str(val)
915
if len(val) == 0:
- y = 'nan'
916
+ val = 'nan'
917
val = str(val).replace('=', '%3D').replace(';', '%3B')
918
key = key.replace('=', '%3D').replace(';', '%3B')
919
attrs_str.append(f"{key}={val}")
0 commit comments