Backing up the results files before fucking with them
[progcomp2012.git] / judge / simulator / simulate.py
index 7664a2c..a7a138d 100755 (executable)
@@ -152,6 +152,9 @@ if verbose:
 if verbose:
        print "Preparing .html results files..."
 
+#BACKUP THE RESULTS DIRECTORY GOD DAMMIT
+os.system("mkdir .before_round"+str(totalRounds)+"_BACKUP/; cp " + resultsDirectory+"*" + " .before_round"+str(totalRounds)+"_BACKUP/")
+
 
 if os.path.exists(resultsDirectory + "index.html") == True:
        os.remove(resultsDirectory + "index.html") #Delete the file

UCC git Repository :: git.ucc.asn.au