Fix get_zone args
This commit is contained in:
parent
106e879eb9
commit
360bc2a587
@ -55,7 +55,7 @@ def main():
|
||||
if d.domain == p['domain'] or d.domain == p['domain'] + ".":
|
||||
for z in d.zone_history:
|
||||
if p['zone'] is None or z == p['zone']:
|
||||
zone = d.get_zone(z)
|
||||
zone = d.get_zone(z.id)
|
||||
|
||||
if p['subdomain'].removesuffix(d.domain) in zone.services:
|
||||
for s in zone.services[p['subdomain'].removesuffix(d.domain)]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user