Moar fikses

This commit is contained in:
Alexandre Aubin 2021-08-27 19:14:23 +02:00
parent b54f35dc32
commit 3c4520a6d8
3 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
import logging
from moulinette.core import MoulinetteError, MoulinetteAuthenticationError
logger = logging.getLogger("moulinette.authenticator")

View file

@ -6,7 +6,7 @@ import argparse
import copy
from collections import deque, OrderedDict
from moulinette import Moulinette, m18n
from moulinette import m18n
from moulinette.core import MoulinetteError
logger = logging.getLogger("moulinette.interface")

View file

@ -83,7 +83,6 @@ class APIQueueHandler(logging.Handler):
def emit(self, record):
s_id = Session.get_infos()["id"]
sid = request.get_cookie("session.id")
try:
queue = self.queues[s_id]
except KeyError: