def dispatch_request(self, id):
        super(WalletSetTXFeeView, self).dispatch_request(id)
        form = SetTXFeeForm(request.form)
        if form.validate():
            self.conn.settxfee(float(form.data['fee']))
            flash(form.data['fee'] % u"Transaction fee set to %f",
                  'success')
        else:
            self.conn.settxfee(0)
            flash(u"Transaction fee set to 0", 'error')
        return redirect(url_for("wallet.wallet_detail", id=id))
dataset/ETHPy150Open nkuttler/flaskwallet/walletapp/views/wallet.py/WalletSetTXFeeView.dispatch_request/swapped operands of `%`