mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
- Sort Implemented/Missing Set Lists before printing them out
This commit is contained in:
@@ -75,7 +75,10 @@ for currentSet in setCodes :
|
|||||||
percentage = 100
|
percentage = 100
|
||||||
if total > 0 :
|
if total > 0 :
|
||||||
percentage = (float(len(currentImplemented))/float(total))*100
|
percentage = (float(len(currentImplemented))/float(total))*100
|
||||||
|
|
||||||
|
currentMissing.sort()
|
||||||
|
currentImplemented.sort()
|
||||||
|
|
||||||
with open(sys.path[0] + "\PerSetTracking Results\set_" + currentSet + ".txt","w") as output :
|
with open(sys.path[0] + "\PerSetTracking Results\set_" + currentSet + ".txt","w") as output :
|
||||||
output.write("Implemented (" + str(len(currentImplemented)) + "):\n")
|
output.write("Implemented (" + str(len(currentImplemented)) + "):\n")
|
||||||
for everyImplemented in currentImplemented :
|
for everyImplemented in currentImplemented :
|
||||||
|
|||||||
Reference in New Issue
Block a user