We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6088bb3 commit d89cf67Copy full SHA for d89cf67
Explore/generate_social_media_thumbnails.py
@@ -19,7 +19,7 @@ def __get_json_content(url: str) -> List:
19
exit(f'Invalid content for {url}')
20
21
def __get_profile(url: str) -> Image:
22
- if 'icon' in url:
+ if not url or 'icon' in url:
23
return None
24
25
image = get(url.replace("\\",""), stream=True)
0 commit comments