diff --git a/HISTORY.rst b/HISTORY.rst index 0405f24..42fd3ea 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -4,7 +4,7 @@ History 0.7.2 (unreleased) ------------------ -- Nothing changed yet. +- Fixed a bug introduced when with using action sync 0.7.1 (2024-04-13) diff --git a/haunts/spreadsheet.py b/haunts/spreadsheet.py index 12544f2..a54bd4f 100644 --- a/haunts/spreadsheet.py +++ b/haunts/spreadsheet.py @@ -246,7 +246,11 @@ def get_calendars(sheet, ignore_alias=False, use_read_col=False): configured_calendars = {} for cols in values: if not use_read_col: - id, alias = cols + try: + id, alias = cols + except ValueError: + # not required alias column + id, alias, _ = cols read_from = None else: try: