mirror of
https://github.com/adulau/pdns-qof-server.git
synced 2024-11-22 01:57:07 +00:00
Overwrite bug fixed
The dictionary was not declared in the right scope...
This commit is contained in:
parent
bd3a3a6081
commit
b45dae1251
1 changed files with 1 additions and 1 deletions
|
@ -62,8 +62,8 @@ def getRecord(t = None):
|
||||||
rec = "r:"+t+":"+rr['Value']
|
rec = "r:"+t+":"+rr['Value']
|
||||||
rs = r.smembers(rec)
|
rs = r.smembers(rec)
|
||||||
if rs:
|
if rs:
|
||||||
rrval = {}
|
|
||||||
for v in rs:
|
for v in rs:
|
||||||
|
rrval = {}
|
||||||
rdata = v.decode(encoding='UTF-8').strip()
|
rdata = v.decode(encoding='UTF-8').strip()
|
||||||
rrval['time_first'] = getFirstSeen(t1=t, t2=rdata)
|
rrval['time_first'] = getFirstSeen(t1=t, t2=rdata)
|
||||||
rrval['time_last'] = getLastSeen(t1=t, t2=rdata)
|
rrval['time_last'] = getLastSeen(t1=t, t2=rdata)
|
||||||
|
|
Loading…
Reference in a new issue