Skip to content

Commit

Permalink
Merge pull request #346 from steemit/fix_345
Browse files Browse the repository at this point in the history
fix issue #345
  • Loading branch information
yuekun0707 authored Jan 8, 2025
2 parents 33204e1 + 69cf19a commit e0fd8f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hive/indexer/community.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ def _read_props(self):
out['settings'] = json.dumps(settings)
if 'avatar_url' in settings:
avatar_url = settings['avatar_url']
assert avatar_url is not None
assert not avatar_url or _valid_url_proto(avatar_url)
out['avatar_url'] = avatar_url
assert out, 'props were blank'
Expand Down

0 comments on commit e0fd8f3

Please sign in to comment.