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,6 +65,7 @@ if options.storeseq:
s = shelve.open("netbeacon-send.seq") s = shelve.open("netbeacon-send.seq")
for destination in destinations: for destination in destinations:
k = 'seq:' + str(destination) k = 'seq:' + str(destination)
if logging:
print (k) print (k)
if k not in s: if k not in s:
s[k] = 1 s[k] = 1