From e3f9af381fd43da9d532bb4763e63ac1ccea6cf8 Mon Sep 17 00:00:00 2001 From: Gergely Imreh Date: Wed, 3 Jun 2015 11:32:28 +0800 Subject: [PATCH] add default loglevel in case it's not set in config file --- src/shared.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shared.py b/src/shared.py index d82f00a5..3053b6af 100644 --- a/src/shared.py +++ b/src/shared.py @@ -34,7 +34,9 @@ import shared from helper_sql import * -config = ConfigParser.SafeConfigParser() +config = ConfigParser.SafeConfigParser( + defaults={'loglevel':'DEBUG' + }) myECCryptorObjects = {} MyECSubscriptionCryptorObjects = {} myAddressesByHash = {} #The key in this dictionary is the RIPE hash which is encoded in an address and value is the address itself.