X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/0865c28fb29a6481cd837cf8c1ef0cd134c6ef8e..7a227c758cbd03f91f4e8848a6c65f9acd4b140c:/devscripts/check-porn.py?ds=inline diff --git a/devscripts/check-porn.py b/devscripts/check-porn.py index 6a5bd9e..7a219eb 100644 --- a/devscripts/check-porn.py +++ b/devscripts/check-porn.py @@ -28,7 +28,7 @@ for test in get_testcases(): if METHOD == 'EURISTIC': try: webpage = compat_urllib_request.urlopen(test['url'], timeout=10).read() - except: + except Exception: print('\nFail: {0}'.format(test['name'])) continue