Skip to content
Permalink
Browse files

Fix check.html code

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 26, 2016
1 parent 3bec390 commit 8be785b449ba4197c877694421b601c51a78f019
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/check.html
@@ -13,7 +13,7 @@
<a name="rest_code_871104a093764d779132a78f4d157c8d-9"></a> <span class="p">(</span><span class="n">b</span><span class="s1">'&lt;generator&gt;Nikola &lt;http://getnikola.com/&gt;&lt;/generator&gt;'</span><span class="p">,</span> <span class="s1">'Nikola v6.3.0-v6.4.0'</span><span class="p">),</span>
<a name="rest_code_871104a093764d779132a78f4d157c8d-10"></a> <span class="p">(</span><span class="n">b</span><span class="s1">'&lt;generator&gt;nikola&lt;/generator&gt;'</span><span class="p">,</span> <span class="s1">'Nikola v6.2.1 or older'</span><span class="p">]</span>
<a name="rest_code_871104a093764d779132a78f4d157c8d-11"></a><span class="n">result</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span>
<a name="rest_code_871104a093764d779132a78f4d157c8d-12"></a><span class="k">for</span> <span class="n">pattern</span><span class="p">,</span> <span class="n">description</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">patterns</span><span class="p">):</span>
<a name="rest_code_871104a093764d779132a78f4d157c8d-12"></a><span class="k">for</span> <span class="n">pattern</span><span class="p">,</span> <span class="n">description</span> <span class="ow">in</span> <span class="n">patterns</span><span class="p">:</span>
<a name="rest_code_871104a093764d779132a78f4d157c8d-13"></a> <span class="k">if</span> <span class="n">pattern</span> <span class="ow">in</span> <span class="n">r</span><span class="o">.</span><span class="n">content</span><span class="p">:</span>
<a name="rest_code_871104a093764d779132a78f4d157c8d-14"></a> <span class="k">print</span><span class="p">(</span><span class="n">description</span><span class="p">)</span>
<a name="rest_code_871104a093764d779132a78f4d157c8d-15"></a> <span class="nb">exit</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>

0 comments on commit 8be785b

Please sign in to comment.
You can’t perform that action at this time.