From 232a74d2741e299393c1d01a624a6b4107c4c964 Mon Sep 17 00:00:00 2001
From: caryoscelus <caryoscelus@gmx.com>
Date: Mon, 24 Jan 2022 01:48:08 +0000
Subject: [PATCH] disable update more completely

---
 update.py | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/update.py b/update.py
index a7bd086a..62106469 100644
--- a/update.py
+++ b/update.py
@@ -6,6 +6,13 @@ import shutil
 
 
 def update():
+    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')
+    return False
+
     from Config import config
     config.parse(silent=True)
 
@@ -115,13 +122,6 @@ def update():
 
 
 if __name__ == "__main__":
-    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')
+    sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))  # Imports relative to src
 
-    if False:
-        sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))  # Imports relative to src
-
-        update()
+    update()