opener = compat_urllib_request.build_opener(https_handler)
# Check if there is a new version
try:
newversion = opener.open(VERSION_URL).read().decode('utf-8').strip()
opener = compat_urllib_request.build_opener(https_handler)
# Check if there is a new version
try:
newversion = opener.open(VERSION_URL).read().decode('utf-8').strip()