mirror of
https://github.com/adulau/netbeacon.git
synced 2024-11-23 10:37:11 +00:00
logging for seq store fixed
This commit is contained in:
parent
e5121985cc
commit
89bfdb344d
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ 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)
|
||||||
print (k)
|
if logging:
|
||||||
|
print (k)
|
||||||
if k not in s:
|
if k not in s:
|
||||||
s[k] = 1
|
s[k] = 1
|
||||||
seqstart = s[k]+1
|
seqstart = s[k]+1
|
||||||
|
|
Loading…
Reference in a new issue