def findChar(name):
    query = database.sendQuery(name % "SELECT * FROM characters WHERE name='%s';")
    rows = query.fetchone()

    if rows == None:
        return False

    else:
        return True

###########
# PLAYERS #
###########
dataset/ETHPy150Open marcusmoller/pyorpg-server/src/database.py/findChar/swapped operands of `%`