mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
typo
This commit is contained in:
+2
-2
@@ -39,10 +39,10 @@ class Domain(object):
|
|||||||
"""
|
"""
|
||||||
data_storage_dir = settings.data_storage_dir
|
data_storage_dir = settings.data_storage_dir
|
||||||
extract_cache_file = data_storage_dir.joinpath('public_suffix_list.dat')
|
extract_cache_file = data_storage_dir.joinpath('public_suffix_list.dat')
|
||||||
tldext = tldextract.TLDExtract(extract_cache_file, None)
|
ext = tldextract.TLDExtract(extract_cache_file, None)
|
||||||
result = self.match()
|
result = self.match()
|
||||||
if result:
|
if result:
|
||||||
return tldext(result)
|
return ext(result)
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user