AIL-framework/update/v3.5/Update.py

27 lines
528 B
Python
Raw Normal View History

2021-03-23 15:57:51 +01:00
#!/usr/bin/env python3
# -*-coding:UTF-8 -*
import os
import re
import sys
import time
import redis
import datetime
sys.path.append(os.path.join(os.environ['AIL_BIN'], 'lib/'))
import ConfigLoader
sys.path.append(os.path.join(os.environ['AIL_HOME'], 'update', 'bin'))
from ail_updater import AIL_Updater
2021-03-23 15:57:51 +01:00
class Updater(AIL_Updater):
"""default Updater."""
2021-03-23 15:57:51 +01:00
def __init__(self, version):
super(Updater, self).__init__(version)
2021-03-23 15:57:51 +01:00
if __name__ == '__main__':
2021-03-23 15:57:51 +01:00
updater = Updater('v3.5')
updater.run_update()