Changed update date in MO message. (#12396)
* Changed update date. * Changed update date. * Year update.
This commit is contained in:
1 parent
81e41f7c8e
commit
595bdb71a7
1 file changed
+2
-2
@@ -8,10 +8,10 @@ msg_fmt = 'Check for a new version of Intel(R) Distribution of OpenVINO(TM) tool
|
||||
|
||||
|
||||
def get_ov_update_message():
|
||||
expected_update_date = datetime.date(year=2022, month=10, day=31)
|
||||
expected_update_date = datetime.date(year=2023, month=2, day=1)
|
||||
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_2022_bu_IOTG_OpenVINO-2022-2&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_2023_bu_IOTG_OpenVINO-2022-2&content=upg_all&medium=organic'
|
||||
|
||||
return msg_fmt.format(link) if current_date >= expected_update_date else None
|
||||
|
||||
|
||||
Reference in new issue
Block a user