Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Auri
funkwhale
Commits
060543f6
Verified
Commit
060543f6
authored
Dec 05, 2018
by
Eliot Berriot
Browse files
Fixed logging issues
parent
d68ab6ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
api/funkwhale_api/common/channels.py
View file @
060543f6
...
...
@@ -5,7 +5,7 @@ from asgiref.sync import async_to_sync
from
channels.layers
import
get_channel_layer
from
django.core.serializers.json
import
DjangoJSONEncoder
logger
=
logging
.
getLogger
(
__
fil
e__
)
logger
=
logging
.
getLogger
(
__
nam
e__
)
channel_layer
=
get_channel_layer
()
group_add
=
async_to_sync
(
channel_layer
.
group_add
)
...
...
api/funkwhale_api/music/models.py
View file @
060543f6
...
...
@@ -29,7 +29,7 @@ from funkwhale_api.federation import models as federation_models
from
funkwhale_api.federation
import
utils
as
federation_utils
from
.
import
importers
,
metadata
,
utils
logger
=
logging
.
getLogger
(
__
fil
e__
)
logger
=
logging
.
getLogger
(
__
nam
e__
)
def
empty_dict
():
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment