Skip to content

Commit 6c34d7f

Browse files
authored
RESULT_TYPES can be list or single value (#794)
1 parent 8feec96 commit 6c34d7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

birdnet_analyzer/analyze/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def _set_params(
196196
cfg.BANDPASS_FMIN = fmin
197197
cfg.BANDPASS_FMAX = fmax
198198
cfg.AUDIO_SPEED = audio_speed
199-
cfg.RESULT_TYPES = rtype
199+
cfg.RESULT_TYPES = rtype if isinstance(rtype, list | tuple | set) else [rtype]
200200
cfg.COMBINE_RESULTS = combine_results
201201
cfg.BATCH_SIZE = bs
202202
cfg.ADDITIONAL_COLUMNS = additional_columns

0 commit comments

Comments
 (0)