2015-07-12 20:36:46 +02:00
|
|
|
import os
|
2017-01-21 23:01:17 +01:00
|
|
|
import sys
|
2016-12-04 18:57:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
def update():
|
2019-03-15 23:10:29 +01:00
|
|
|
print("Updating not supported yet")
|
|
|
|
return False
|
2015-02-20 01:37:12 +01:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2016-04-06 13:34:51 +02:00
|
|
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src")) # Imports relative to src
|
2017-06-05 01:07:39 +02:00
|
|
|
|
|
|
|
from gevent import monkey
|
|
|
|
monkey.patch_all()
|
|
|
|
|
2016-04-06 13:34:51 +02:00
|
|
|
from Config import config
|
2017-06-05 01:08:11 +02:00
|
|
|
config.parse(silent=True)
|
|
|
|
|
2015-07-12 20:36:46 +02:00
|
|
|
try:
|
|
|
|
update()
|
2019-03-15 23:10:29 +01:00
|
|
|
except Exception as err:
|
|
|
|
print("Update error: %s" % err)
|