[fix] typo

This commit is contained in:
Laurent Peuch 2021-04-15 18:22:38 +02:00
parent 59c9280d4a
commit 0affbc50ac

View file

@ -1,8 +1,8 @@
import os # import os
import hmac import hmac
import hashlib import hashlib
import asyncio import asyncio
import subprocess # import subprocess
from sanic import Sanic from sanic import Sanic
from sanic.response import text from sanic.response import text
@ -469,7 +469,7 @@ async def github(request):
if state not in ("success", "pending"): if state not in ("success", "pending"):
await notify( await notify(
f'[{repository}] {description} {target_url} on commit {url} "{commit_message}" by @{commit_author} on branche{"s" if len(branches) > 1 else ""} {branches}' f'[{repository}] {description} {target_url} on commit {url} "{commit_message}" by @{commit_author} on branch{"es" if len(branches) > 1 else ""} {branches}'
) )
else: else:
print( print(