logging for seq store fixed

This commit is contained in:
Alexandre Dulaunoy 2013-06-08 10:04:07 +02:00
parent e5121985cc
commit 89bfdb344d

View file

@ -65,7 +65,8 @@ if options.storeseq:
s = shelve.open("netbeacon-send.seq")
for destination in destinations:
k = 'seq:' + str(destination)
print (k)
if logging:
print (k)
if k not in s:
s[k] = 1
seqstart = s[k]+1