Verified Commit 060543f6 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed logging issues

parent d68ab6ec
...@@ -5,7 +5,7 @@ from asgiref.sync import async_to_sync ...@@ -5,7 +5,7 @@ from asgiref.sync import async_to_sync
from channels.layers import get_channel_layer from channels.layers import get_channel_layer
from django.core.serializers.json import DjangoJSONEncoder from django.core.serializers.json import DjangoJSONEncoder
logger = logging.getLogger(__file__) logger = logging.getLogger(__name__)
channel_layer = get_channel_layer() channel_layer = get_channel_layer()
group_add = async_to_sync(channel_layer.group_add) group_add = async_to_sync(channel_layer.group_add)
......
...@@ -29,7 +29,7 @@ from funkwhale_api.federation import models as federation_models ...@@ -29,7 +29,7 @@ from funkwhale_api.federation import models as federation_models
from funkwhale_api.federation import utils as federation_utils from funkwhale_api.federation import utils as federation_utils
from . import importers, metadata, utils from . import importers, metadata, utils
logger = logging.getLogger(__file__) logger = logging.getLogger(__name__)
def empty_dict(): def empty_dict():
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment