Fix mypy error regarding _()

This commit is contained in:
Philipp Hörist 2018-09-11 19:29:08 +02:00
parent 21672fadee
commit a34bf54c46
2 changed files with 6 additions and 2 deletions

View File

@ -20,11 +20,14 @@
# along with Gajim. If not, see <http://www.gnu.org/licenses/>. # along with Gajim. If not, see <http://www.gnu.org/licenses/>.
import logging import logging
import nbxmpp import nbxmpp
from gajim.common import helpers
from gajim.common.modules import dataforms
from gajim.common import app from gajim.common import app
from gajim.common import helpers
from gajim.common.i18n import _
from gajim.common.modules import dataforms
from gajim.common.nec import NetworkIncomingEvent from gajim.common.nec import NetworkIncomingEvent
log = logging.getLogger('gajim.c.m.commands') log = logging.getLogger('gajim.c.m.commands')

View File

@ -19,6 +19,7 @@ import logging
import nbxmpp import nbxmpp
from gajim.common import app from gajim.common import app
from gajim.common.i18n import _
from gajim.common.modules.date_and_time import parse_datetime from gajim.common.modules.date_and_time import parse_datetime
log = logging.getLogger('gajim.c.m.misc') log = logging.getLogger('gajim.c.m.misc')