demos/demo.py
branchpyrit
changeset 24 d0d76e8a5203
parent 19 4e0955fca797
child 31 b4e09433934a
--- a/demos/demo.py	Tue Dec 04 08:58:05 2007 +0100
+++ b/demos/demo.py	Wed Dec 05 18:54:23 2007 +0100
@@ -1,7 +1,7 @@
 #!/usr/bin/python
 
 import sys
-sys.path.append("..")
+sys.path.append(open('ModulePath').read().strip())
 
 from raytracer import Raytracer, Material, Box, Sphere, Light
 #, SphericalLight