from wtforms import Form


class BaseForm(Form):

    def get_error(self):
        error = self.errors.popitem()[1][0]
        return error

2b577703ec0d45ab048408d2267db7c1e103ebdb
<mask token>

<mask token>


class BaseForm(Form):
    <mask token>

<mask token>


class BaseForm(Form):

    def get_error(self):
        error = self.errors.popitem()[1][0]
        return error

from wtforms import Form


class BaseForm(Form):

    def get_error(self):
        error = self.errors.popitem()[1][0]
        return error
