light"><pre class="highlight"><code><span class="c1">#commit claim based on selection
</span><span class="k">if</span> <span class="n">option</span> <span class="o">==</span> <span class="s">'ALL'</span><span class="p">:</span>
    <span class="k">if</span> <span class="n">Amount</span><span class="p">(</span><span class="n">reward_steem</span><span class="p">)</span><span class="o">.</span><span class="n">amount</span> <span class="o">+</span> <span class="n">Amount</span><span class="p">(</span><span clas