TrackerShare: store trackers in shared-trackers.json, since trackers.json is in use by AnnounceShare and may have an incompatible format in the future

This commit is contained in:
Vadim Ushakov 2019-07-07 14:31:13 +07:00
parent f5b63a430c
commit aa6d7a468d

View file

@ -25,7 +25,7 @@ class TrackerStorage(object):
self.shared_trackers_limit_per_protocol = {}
self.shared_trackers_limit_per_protocol["other"] = 2
self.file_path = "%s/trackers.json" % config.data_dir
self.file_path = "%s/shared-trackers.json" % config.data_dir
self.load()
self.time_discover = 0.0
self.time_success = 0.0