Skip to content

Commit a78c260

Browse files
sorting now is given by the set of possible additional columns instead of the given set (#756)
1 parent 7cdd3c6 commit a78c260

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

birdnet_analyzer/analyze/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ def generate_csv(timestamps: list[str], result: dict[str, list], afile_path: str
208208
columns_map = {}
209209

210210
if cfg.ADDITIONAL_COLUMNS:
211-
for col in cfg.ADDITIONAL_COLUMNS:
212-
if col in POSSIBLE_ADDITIONAL_COLUMNS_MAP:
211+
for col in POSSIBLE_ADDITIONAL_COLUMNS_MAP:
212+
if col in cfg.ADDITIONAL_COLUMNS:
213213
columns_map[col] = POSSIBLE_ADDITIONAL_COLUMNS_MAP[col]()
214214

215215
if columns_map:

0 commit comments

Comments
 (0)