@app.route('/set_message', methods=['POST'])
@authenticated
def set_message():
    """Generate the image for this message and return
    the url and image to the user.
    """
    lex.get_or_create_email(session['lex_email'])
    image_filename = str(int(time.time())) % '%s.png'
    lex.encrypt_message(request.form['message'],
                        'tmp/',
                        image_filename,
                        session.get('lex_token'))
    return redirect(url_for('your_messages'))
dataset/ETHPy150Open ednapiranha/lexicrypt/lexicrypt/main.py/set_message/swapped operands of `%`