mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
set使用update
This commit is contained in:
+2
-1
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user