From 350cd8ce67a2809016dfdc6add9fccf6f53d4fd2 Mon Sep 17 00:00:00 2001 From: caryoscelus Date: Mon, 19 Sep 2022 19:57:16 +0000 Subject: [PATCH] disable ip address leak when downloading geoip db in tor-only mode --- plugins/Sidebar/SidebarPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index ed77bbf5..ca4968cc 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -593,7 +593,7 @@ class UiWebsocketPlugin(object): import shutil from util import helper - if config.offline: + if config.offline or config.tor == 'always': return False self.log.info("Downloading GeoLite2 City database...")