From 6364b9968f7eddc98377fc30660490633fb473bb Mon Sep 17 00:00:00 2001 From: luke11brown <13762210+luke11brown@users.noreply.github.com> Date: Fri, 26 Jan 2024 10:41:11 +0400 Subject: [PATCH] indent error --- .github/workflows/auto_airac_actions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto_airac_actions.py b/.github/workflows/auto_airac_actions.py index ce2e8b95f..7254e32f6 100644 --- a/.github/workflows/auto_airac_actions.py +++ b/.github/workflows/auto_airac_actions.py @@ -47,7 +47,7 @@ def initialise(self, date_in=None) -> int: return number_of_cycles def current_cycle(self) -> str: - """Return the date of the current AIRAC cycle""" + """Return the date of the current AIRAC cycle""" def cycle(sub=0): number_of_cycles = self.initialise() - sub number_of_days = number_of_cycles * self.cycle_days + 1 @@ -57,11 +57,11 @@ def cycle(sub=0): current_cycle = cycle() if current_cycle > self.today_date: current_cycle = cycle(sub=1) - + # Format month with leading zero if necessary month_part = str(current_cycle.month).zfill(2) - return f"{current_cycle.year}_{month_part}" + return f"{current_cycle.year}_{month_part}" def current_tag(self) -> str: