Reload trackers file on value change

This commit is contained in:
shortcutme 2018-07-10 03:43:31 +02:00
parent 30134dbbc9
commit 3041064d21
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -1019,4 +1019,7 @@ class UiWebsocket(object):
tor_manager = sys.modules["main"].file_server.tor_manager
tor_manager.request("SETCONF UseBridges=%i" % value)
if key == "trackers_file":
config.loadTrackersFile()
self.response(to, "ok")