diff --git a/addons/web_unsplash/controllers/main.py b/addons/web_unsplash/controllers/main.py index 5db969158c7..c072352711b 100644 --- a/addons/web_unsplash/controllers/main.py +++ b/addons/web_unsplash/controllers/main.py @@ -81,7 +81,7 @@ class Web_Unsplash(http.Controller): for key, value in unsplashurls.items(): url = value.get('url') try: - if not url.startswith('https://images.unsplash.com/') and not request.env.registry.in_test_mode(): + if not url.startswith(('https://images.unsplash.com/', 'https://plus.unsplash.com/')) and not request.env.registry.in_test_mode(): logger.exception("ERROR: Unknown Unsplash URL!: " + url) raise Exception(_("ERROR: Unknown Unsplash URL!"))