Skip to content

Commit

Permalink
Merge main into sweep/add-sweep-config
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 28, 2024
2 parents 73a2cc5 + 7c40a80 commit ee1feaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapy_crawler/Joonggonara/metadata/article.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def from_dict(obj: Any) -> "Writer":
_baMemberKey = str(obj.get("baMemberKey"))
_nick = str(obj.get("nick"))
_image = Image.from_dict(obj.get("image"))
_memberLevel = int(obj.get("memberLevel"))
_memberLevel = int(obj.get("memberLevel")) if obj.get("memberLevel") else 0
_memberLevelName = str(obj.get("memberLevelName"))
_memberLevelIconUrl = str(obj.get("memberLevelIconUrl"))
_currentPopularMember = obj.get("currentPopularMember")
Expand Down

0 comments on commit ee1feaa

Please sign in to comment.