Update message 2021.4.2 (#8130)

* Upgrated MO message

* fix
This commit is contained in:
Anastasia Kazantaeva
2021-10-28 22:41:46 +03:00
committed by GitHub
parent a3afa57bd9
commit 1b6dc06cf0

View File

@@ -8,9 +8,9 @@ msg_fmt = 'It\'s been a while, check for a new version of ' + \
def get_ov_update_message():
expected_update_date = datetime.date(year=2021, month=10, day=15)
expected_update_date = datetime.date(year=2022, month=2, day=15)
current_date = datetime.date.today()
link = 'https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/download.html?cid=other&source=prod&campid=ww_2021_bu_IOTG_OpenVINO-2021-4-LTS&content=upg_all&medium=organic'
link = 'https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/download.html?cid=other&source=prod&campid=ww_2022_bu_IOTG_OpenVINO-2022-1&content=upg_all&medium=organic'
return msg_fmt.format(link) if current_date >= expected_update_date else None