Skip to content

Commit

Permalink
add utf-8 (#482)
Browse files Browse the repository at this point in the history
Co-authored-by: Josef Haupt <[email protected]>
  • Loading branch information
Josef-Haupt and Josef Haupt authored Oct 24, 2024
1 parent b531205 commit d3b3e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion birdnet_analyzer/gui/single_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def runSingleFileAnalysis(
)

# read the result file to return the data to be displayed.
with open(result_filepath, "r") as f:
with open(result_filepath, "r", encoding="utf-8") as f:
reader = csv.reader(f)
data = list(reader)
data = [l[0:-1] for l in data[1:]] # remove last column (file path) and first row (header)
Expand Down

0 comments on commit d3b3e23

Please sign in to comment.