From e0d52b12105112efe0dbb71a1cc4afd7fc9a5c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C6=B0=C6=A1ng=20Quang=20M=E1=BA=A1nh?= Date: Mon, 21 Dec 2020 15:36:29 +0700 Subject: [PATCH] Fix make style --- aerich/cli.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aerich/cli.py b/aerich/cli.py index 47b9aab..331ca41 100644 --- a/aerich/cli.py +++ b/aerich/cli.py @@ -156,9 +156,7 @@ async def downgrade(ctx: Context, version: int, delete: bool): if version == -1: specified_version = await Migrate.get_last_version() else: - specified_version = await Aerich.filter( - app=app, version__startswith=f"{version}_" - ).first() + specified_version = await Aerich.filter(app=app, version__startswith=f"{version}_").first() if not specified_version: return click.secho("No specified version found", fg=Color.yellow) if version == -1: