set使用update

This commit is contained in:
Jing Ling
2020-08-20 14:01:17 +08:00
parent f8f3ad0352
commit e056834f1d
38 changed files with 42 additions and 41 deletions
+2 -1
View File
@@ -220,7 +220,8 @@ class Module(object):
def collect_subdomains(self, resp):
subdomains = self.match_subdomains(resp)
return self.subdomains.union(subdomains)
self.subdomains.update(subdomains)
return self.subdomains
def save_json(self):
"""