2020-05-12 10:29:52 +02:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*-coding:UTF-8 -*
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2022-11-23 11:02:33 +01:00
|
|
|
sys.path.append(os.environ['AIL_HOME'])
|
|
|
|
##################################
|
|
|
|
# Import Project packages
|
|
|
|
##################################
|
|
|
|
from update.bin.old_ail_updater import AIL_Updater
|
2020-05-12 10:29:52 +02:00
|
|
|
|
2022-11-23 11:02:33 +01:00
|
|
|
class Updater(AIL_Updater):
|
|
|
|
"""default Updater."""
|
2020-05-12 10:29:52 +02:00
|
|
|
|
2022-11-23 11:02:33 +01:00
|
|
|
def __init__(self, version):
|
|
|
|
super(Updater, self).__init__(version)
|
2020-05-12 10:29:52 +02:00
|
|
|
|
|
|
|
|
2022-11-23 11:02:33 +01:00
|
|
|
if __name__ == '__main__':
|
|
|
|
updater = Updater('v3.1')
|
|
|
|
updater.run_update()
|
2020-05-12 10:29:52 +02:00
|
|
|
|