fix: [farsight_passivedns] Fixed pep8 backslash issue

chrisr3d_patch
chrisr3d 2020-11-15 20:15:06 +01:00
parent d1ac0cffe0
commit c1e52fdb12
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 2 additions and 2 deletions

View File

@ -117,10 +117,10 @@ def add_flex_queries(flex):
def flex_queries(client, name, lookup_args):
response = {}
rdata = list(client.flex_rdata_regex(name.replace('.', '\.'), **lookup_args))
rdata = list(client.flex_rdata_regex(name.replace('.', '\\.'), **lookup_args))
if rdata:
response['flex_rdata'] = rdata
rrnames = list(client.flex_rrnames_regex(name.replace('.', '\.'), **lookup_args))
rrnames = list(client.flex_rrnames_regex(name.replace('.', '\\.'), **lookup_args))
if rrnames:
response['flex_rrnames'] = rrnames
return response