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
|
|
|
|
|
2021-04-14 16:27:39 +02:00
|
|
|
sys.path.append(os.path.join(os.environ['AIL_HOME'], 'update', 'bin'))
|
2022-07-08 09:47:47 +02:00
|
|
|
from old_ail_updater import AIL_Updater
|
2021-03-23 15:57:51 +01:00
|
|
|
|
2021-04-14 16:27:39 +02:00
|
|
|
class Updater(AIL_Updater):
|
|
|
|
"""default Updater."""
|
2021-03-23 15:57:51 +01:00
|
|
|
|
2021-04-14 16:27:39 +02:00
|
|
|
def __init__(self, version):
|
|
|
|
super(Updater, self).__init__(version)
|
2021-03-23 15:57:51 +01:00
|
|
|
|
2021-04-14 16:27:39 +02:00
|
|
|
if __name__ == '__main__':
|
2021-03-23 15:57:51 +01:00
|
|
|
|
2021-04-14 16:27:39 +02:00
|
|
|
updater = Updater('v3.5')
|
|
|
|
updater.run_update()
|