diff --git a/src/Config.py b/src/Config.py index 7d64dc6bc..f4ef916f8 100644 --- a/src/Config.py +++ b/src/Config.py @@ -324,6 +324,9 @@ def loadTrackersFile(self): else: # Relative to zeronet.py trackers_file_path = self.start_dir + "/" + trackers_file + if not os.path.exists(trackers_file_path): + continue + for line in open(trackers_file_path): tracker = line.strip() if "://" in tracker and tracker not in self.trackers: