Commit cf672331 authored by Tom's avatar Tom
Browse files

--subrepos update for ubuntu 12.04

parent 92db6f51
......@@ -73,7 +73,10 @@ os.chdir(args.book)
with open("index.html","w") as stream:
for d in sorted(glob.glob("????"))[:args.npages]:
genpage(d)
image = imread(d+".png")
if os.path.exists(d+".png"):
image = imread(d+".png")
else:
image = zeros((300,300,3))
out = ".__"+d+".png"
image = interpolation.zoom(image,(0.125,0.125,1))
imsave(out,image)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment