From 52bd46f3d783646abac6a9076190468317474ea2 Mon Sep 17 00:00:00 2001 From: caryoscelus Date: Sat, 8 Jan 2022 11:05:07 +0000 Subject: [PATCH] disable update.py as unsafe users should use git to update until there's safety mechanisms in place for upgrading via update zite --- update.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/update.py b/update.py index cf9898f9..a7bd086a 100644 --- a/update.py +++ b/update.py @@ -115,6 +115,13 @@ def update(): if __name__ == "__main__": - sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src")) # Imports relative to src + print('please update zeronet-conservancy via git. usually it can be done via single commnad') + print(' git pull') + print('although it depends on your branches setup') + print('updating through 1update site is not considered safe at the moment') + print('if you really want to use it, edit this file') - update() + if False: + sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src")) # Imports relative to src + + update()