[Durian-svn] [5710] minor changes to progress update script

campbell institute at blender.org
Thu Jun 24 14:46:24 CEST 2010


Revision: 5710
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=5710
Author:   campbell
Date:     2010-06-24 14:46:24 +0200 (Thu, 24 Jun 2010)
Log Message:
-----------
minor changes to progress update script	

Modified Paths:
--------------
    pro/scripts/utilities/render_progress_bar.py

Modified: pro/scripts/utilities/render_progress_bar.py
===================================================================
--- pro/scripts/utilities/render_progress_bar.py	2010-06-24 12:32:44 UTC (rev 5709)
+++ pro/scripts/utilities/render_progress_bar.py	2010-06-24 12:46:24 UTC (rev 5710)
@@ -369,6 +369,7 @@
 
 RENDER_DIR = "/d/pro/scenes"
 FINAL_DIR = "/shared/render"
+OUT_DIR = "/shared/software/durian_farm/progressbar"
 
 def blend_path_list(path):
     for dirpath, dirnames, filenames in os.walk(path):
@@ -499,7 +500,7 @@
         # Write test
         file_name = "progress_%s.png" % pre
         print("Writing to file...", file_name)
-        fname = os.path.join(FINAL_DIR, file_name)
+        fname = os.path.join(OUT_DIR, file_name)
         f = open(fname, "wb")
         f.write(c.dump())
         f.close()
@@ -508,6 +509,8 @@
 if __name__ == "__main__":
     import time
     while 1:
+        os.system("svn up /d/pro")
         main()
         time.sleep(60*30) # 30min
+
         



More information about the Durian-svn mailing list