diff --git a/analyze_batch.py b/analyze_batch.py index 1749e24..18cfe4e 100644 --- a/analyze_batch.py +++ b/analyze_batch.py @@ -206,10 +206,10 @@ def main(folder, intervl): rprint("computing toxic levels: post " + str(len(filteredposts)) + "/" + str(len(filteredposts)) + " ... plotting ... saving ... took " + str(cms() - start) + "ms") magickold += " " + goutfilenameoldusers + ".png" - os.system(magickglobal + " batch_newusers.pdf") - os.system(magickold + " batch_oldusers.pdf") + os.system(magickglobal + " " + outputdir + "batch_newusers.pdf") + os.system(magickold + " " + outputdir + "batch_oldusers.pdf") for (i, cmd) in magickpost.items(): - os.system(cmd + " " + "batch_newusers_" + str(i) + ".pdf") + os.system(cmd + " " + outputdir + "batch_newusers_" + str(i) + ".pdf") def dumptoxlevels(lvls, filename):