Skip to content

Commit

Permalink
handling utf8 (somewhat)
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Sep 13, 2019
1 parent 81e5ada commit 265ce3d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ascl_list1.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@

elif args.list:
output_str = "Ordinal,Status,Software,Description,Public Code Repo,External Link,Contributers\n"

print( output_str )
for i in range(len(d2)):
ri = d2[i]

Expand All @@ -133,10 +133,9 @@
el = "\"" + ri["External Link"] + "\""
cont = "\"" + s.join(ri["Contributors"]) + "\""

output_str += s2.join([str(i), str(0), soft, desc, pcr, el, cont]) + "\n\n"
output_str = s2.join([str(i), str(0), soft, desc, pcr, el, cont]) + "\n\n"
print(output_str.encode("utf8"))

print( output_str )

else:
if match_name != None:
for i in range(len(d2)):
Expand Down

0 comments on commit 265ce3d

Please sign in to comment.