add default loglevel in case it's not set in config file

This commit is contained in:
Gergely Imreh 2015-06-03 11:32:28 +08:00
parent 2d6d3d68f6
commit e3f9af381f

View File

@ -34,7 +34,9 @@ import shared
from helper_sql import * from helper_sql import *
config = ConfigParser.SafeConfigParser() config = ConfigParser.SafeConfigParser(
defaults={'loglevel':'DEBUG'
})
myECCryptorObjects = {} myECCryptorObjects = {}
MyECSubscriptionCryptorObjects = {} MyECSubscriptionCryptorObjects = {}
myAddressesByHash = {} #The key in this dictionary is the RIPE hash which is encoded in an address and value is the address itself. myAddressesByHash = {} #The key in this dictionary is the RIPE hash which is encoded in an address and value is the address itself.