chore: fix log import

This commit is contained in:
Paul Bienkowski 2023-05-12 18:00:16 +02:00
parent 7e44f6d31d
commit 1c53230b4d

View file

@ -1,10 +1,13 @@
from datetime import datetime
import logging
import queue
import tarfile
from datetime import datetime
import dateutil.parser
from sanic.exceptions import InvalidUsage
from obs.api.routes.tracks import log
log = logging.getLogger(__name__)
RAISE = object()
@ -83,8 +86,10 @@ class chunk:
async def tar_of_tracks(req, files):
response = await req.respond(content_type="application/x-gtar", headers={'Content-Disposition': 'attachment; filename="tracks.tar.bz2"'})
response = await req.respond(
content_type="application/x-gtar",
headers={"Content-Disposition": 'attachment; filename="tracks.tar.bz2"'},
)
helper = StreamerHelper(response)