From 3a0a98a331c5c5976efbf401f3b9bcad99e3cbf5 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Wed, 17 Apr 2024 00:02:48 +0200 Subject: [PATCH] Linting Signed-off-by: Emmy D'Anello --- draw/models.py | 2 +- participation/management/commands/generate_seconds_sheet.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/draw/models.py b/draw/models.py index 0dc8a66..116ab69 100644 --- a/draw/models.py +++ b/draw/models.py @@ -387,7 +387,7 @@ class Pool(models.Model): for i, line in enumerate(table): # Create the passage - passage = await Passage.objects.acreate( + await Passage.objects.acreate( pool=self.associated_pool, position=i + 1, solution_number=tds[line[0]].accepted, diff --git a/participation/management/commands/generate_seconds_sheet.py b/participation/management/commands/generate_seconds_sheet.py index 287ac21..2b8ebf1 100644 --- a/participation/management/commands/generate_seconds_sheet.py +++ b/participation/management/commands/generate_seconds_sheet.py @@ -7,7 +7,7 @@ from django.utils.translation import activate import gspread from gspread.utils import a1_range_to_grid_range, MergeType -from participation.models import Tournament +from ...models import Tournament class Command(BaseCommand):