mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
21 lines
431 B
Python
21 lines
431 B
Python
import os
|
|
import sys
|
|
|
|
|
|
def update():
|
|
print("Updating not supported yet")
|
|
return False
|
|
|
|
if __name__ == "__main__":
|
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src")) # Imports relative to src
|
|
|
|
from gevent import monkey
|
|
monkey.patch_all()
|
|
|
|
from Config import config
|
|
config.parse(silent=True)
|
|
|
|
try:
|
|
update()
|
|
except Exception as err:
|
|
print("Update error: %s" % err)
|