From f75529e1c256ed7c5a0db320d1d3757ac94b6a4e Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Fri, 20 Jan 2023 16:11:51 +0200 Subject: [PATCH] fix: double assignment --- lnbits/core/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/core/helpers.py b/lnbits/core/helpers.py index 62a9d925..2b029e45 100644 --- a/lnbits/core/helpers.py +++ b/lnbits/core/helpers.py @@ -27,7 +27,7 @@ async def run_migration(db, migrations_module, current_version): matcher = re.compile(r"^m(\d\d\d)_") db_name = migrations_module.__name__.split(".")[-2] for key, migrate in migrations_module.__dict__.items(): - match = match = matcher.match(key) + match = matcher.match(key) if match: version = int(match.group(1)) if version > current_version: