Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Tutorials/anatomy/code/polystar.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions Tutorials/anatomy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1>Anatomy of a Program</h1>

<p class="license">This tutorial is for Processing version 2.0+ and has been adapted for Python Mode. If you see any errors or have comments, please <a href="https://github.com/jdf/processing-py-site/issues?state=open">let us know</a>. This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.</p>

<p>You can <a href="code/polystar.zip">download the files from this tutorial</a>.</p>
<p>You can <a href="https://github.com/jdf/processing-py-site/raw/master/Tutorials/anatomy/code/polystar.zip">download the files from this tutorial</a>.</p>

<p>&nbsp;</p>

Expand Down Expand Up @@ -664,7 +664,7 @@ <h3>Summing Up</h3>
</p>

<p>
You can <a href="code/polystar.zip">download the files from this tutorial</a>.
You can <a href="https://github.com/jdf/processing-py-site/raw/master/Tutorials/anatomy/code/polystar.zip">download the files from this tutorial</a>.
</p>

<p>&nbsp;</p>
Expand Down
3 changes: 2 additions & 1 deletion generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ def find_images(items_dict, to_update, img_dir):
else:
# We want an image, but we don't have one. hm.
del example['image']
example['broken'] = True
if example['run']:
example['broken'] = True
else:
if os.path.exists(example_path):
# So, we run all example sketches as a kind of unit-test, and they all save images,
Expand Down