AIL-framework/update/v4.2.1/Update.py

23 lines
477 B
Python
Raw Normal View History

2022-09-08 10:40:18 +02:00
#!/usr/bin/env python3
# -*-coding:UTF-8 -*
import os
import sys
2023-03-16 16:49:53 +01:00
sys.path.append(os.environ['AIL_HOME'])
##################################
# Import Project packages
##################################
from update.bin.old_ail_updater import AIL_Updater
2022-09-08 10:40:18 +02:00
class Updater(AIL_Updater):
"""default Updater."""
def __init__(self, version):
super(Updater, self).__init__(version)
2023-03-16 16:49:53 +01:00
if __name__ == '__main__':
2022-09-08 10:40:18 +02:00
updater = Updater('v4.2.1')
updater.run_update()