diff --git a/is_wordpress/get_requests.py b/is_wordpress/get_requests.py index 7c8409a..a0bfe50 100644 --- a/is_wordpress/get_requests.py +++ b/is_wordpress/get_requests.py @@ -1,8 +1,6 @@ import requests def get_page_requests(url): - if (url.startswith('http')): - pass - else: + if (not url.startswith('http')): url = 'http://'+url page_code = requests.get(url) return page_code.text \ No newline at end of file