Update plugin.py

This commit is contained in:
gutosie
2021-12-04 16:52:09 +02:00
committed by GitHub
parent 6d46e6081e
commit dff2806b30

View File

@@ -1667,9 +1667,14 @@ def main(session, **kwargs):
session.open(MessageBox, _('New version update neoboot is available!\nPlease upgrade your flash plugin.'), type=MessageBox.TYPE_ERROR)
else:
session.open(MessageBox, _('Geen internet'), type=MessageBox.TYPE_ERROR)
if not fileExists('/usr/lib/periodon/.accessdate'): #timeoff
if getCheckActivateVip() == getBoxMacAddres():
pass
else:
if not fileExists('/usr/lib/periodon/.accessdate'): #timeoff
session.open(MessageBox, _('VIP access error. Reinstall the plugin.'), type=MessageBox.TYPE_ERROR)
if getAccesDate() == 'timeoff': #timeoff
if getAccesDate() == 'timeoff': #timeoff
session.open(MessageBox, _('Neoboot vip version has expired, please re-access.'), type=MessageBox.TYPE_ERROR)
version = 0