diff --git a/ascl_list1.py b/ascl_list1.py index cc2cd08..72d9e99 100755 --- a/ascl_list1.py +++ b/ascl_list1.py @@ -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] @@ -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)):