From 6969ec0ec92049501bbbaf1751f1ea24f39ff862 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Fri, 5 Oct 2018 12:32:09 +0300 Subject: [PATCH] Removed commented config check and added module docstring --- src/knownnodes.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/knownnodes.py b/src/knownnodes.py index 1fed7509..08ab0551 100644 --- a/src/knownnodes.py +++ b/src/knownnodes.py @@ -1,7 +1,10 @@ +""" +Manipulations with knownNodes dictionary. +""" + import json import os import pickle -# import sys import threading import time @@ -106,10 +109,6 @@ def readKnownNodes(): createDefaultKnownNodes() config = BMConfigParser() - # if config.safeGetInt('bitmessagesettings', 'settingsversion') > 10: - # sys.exit( - # 'Bitmessage cannot read future versions of the keys file' - # ' (keys.dat). Run the newer version of Bitmessage.') # your own onion address, if setup onionhostname = config.safeGet('bitmessagesettings', 'onionhostname')