summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorJosef Gustafsson <josef.gson@gmail.com>2015-09-10 15:49:57 +0200
committerJosef Gustafsson <josef.gson@gmail.com>2015-09-10 15:49:57 +0200
commit36f5a62a5af2bbc6bb63f3ce8bcb1072d8f50223 (patch)
tree1a4948574341af2acf31ff0c7da54855788e2fd9 /monitor
parentde72280d366bee57e9e6e1038895967ae2c69b08 (diff)
bugfix: saving multiple certs for one domain
Diffstat (limited to 'monitor')
-rwxr-xr-xmonitor/josef_leveldb.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/monitor/josef_leveldb.py b/monitor/josef_leveldb.py
index bf43e75..7d6104c 100755
--- a/monitor/josef_leveldb.py
+++ b/monitor/josef_leveldb.py
@@ -69,8 +69,11 @@ def db_add_domain(db, domain, data):
next_k = item + '.' + k
db_append(db, k, next_k)
k = next_k
- db.Delete(k)
+ # db.Delete(k)
+ # print "Got ", db.Get(k)
+ # print "Put-ing", data
db_append(db, k, data)
+ # print "Got ", db.Get(k)
def db_add_certs(db, data):