Skip to content

Commit

Permalink
download-telegram-images fix map_metadata: map post_ids to str
Browse files Browse the repository at this point in the history
  • Loading branch information
dale-wahl committed Jan 8, 2024
1 parent 99231c7 commit 23edf44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processors/visualisation/download-telegram-images.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def map_metadata(filename, data):
"""
row = {
"number_of_posts_with_image": len(data.get("post_ids", [])),
"post_ids": ", ".join(data.get("post_ids", [])),
"post_ids": ", ".join(map(str, data.get("post_ids", []))),
"filename": filename,
"download_successful": data.get('success', "")
}
Expand Down

0 comments on commit 23edf44

Please sign in to comment.