diff --git a/app/wallpaper.py b/app/wallpaper.py index 6b64ab6b..c57f9e32 100755 --- a/app/wallpaper.py +++ b/app/wallpaper.py @@ -30,7 +30,7 @@ def get_wall(message): else: url = unsplash_url - response = requests.get(url).url + response = requests.get(url, timeout=8).url if "photo-1446704477871-62a4972035cd" in response: return "Could not find an image for those tags."