Chore, applied black

This commit is contained in:
benarc
2021-11-26 05:58:20 +00:00
parent cfac70d394
commit 56397026c8
30 changed files with 143 additions and 159 deletions
+2 -3
View File
@@ -76,11 +76,10 @@ class Track(BaseModel):
return None
url = request.url_for("livestream.track_redirect_download", track_id=self.id)
url_with_query = f"{url}?p={payment_hash}"
url_with_query = f"{url}?p={payment_hash}"
return UrlAction(
url=url_with_query,
description=f"Download the track {self.name}!",
url=url_with_query, description=f"Download the track {self.name}!"
)
+1 -1
View File
@@ -29,7 +29,7 @@ async def api_livestream_from_wallet(
ls = await get_or_create_livestream_by_wallet(g.wallet.id)
tracks = await get_tracks(ls.id)
producers = await get_producers(ls.id)
try:
return {
**ls.dict(),