Skip to content

Commit

Permalink
- alt photos bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacharyHampton committed May 19, 2024
1 parent 0d70007 commit aacd168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeharvest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def process_result(result: Property) -> pd.DataFrame:

description = result.description
prop_data["primary_photo"] = description.primary_photo
prop_data["alt_photos"] = ", ".join(description.alt_photos)
prop_data["alt_photos"] = ", ".join(description.alt_photos) if description.alt_photos else None
prop_data["style"] = description.style if type(description.style) == str else description.style.value
prop_data["beds"] = description.beds
prop_data["full_baths"] = description.baths_full
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "homeharvest"
version = "0.3.26"
version = "0.3.27"
description = "Real estate scraping library"
authors = ["Zachary Hampton <[email protected]>", "Cullen Watson <[email protected]>"]
homepage = "https://github.com/Bunsly/HomeHarvest"
Expand Down

0 comments on commit aacd168

Please sign in to comment.