Reload trackers file on value change
This commit is contained in:
parent
30134dbbc9
commit
3041064d21
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue