mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
pep8
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
# coding=utf-8
|
|
||||||
import re
|
import re
|
||||||
import tldextract
|
import tldextract
|
||||||
import config
|
import config
|
||||||
@@ -38,7 +37,8 @@ class Domain(object):
|
|||||||
|
|
||||||
:return: 导出结果
|
:return: 导出结果
|
||||||
"""
|
"""
|
||||||
extract_cache_file = config.data_storage_dir.joinpath('public_suffix_list.dat')
|
data_storage_dir = config.data_storage_dir
|
||||||
|
extract_cache_file = data_storage_dir.joinpath('public_suffix_list.dat')
|
||||||
tldext = tldextract.TLDExtract(extract_cache_file)
|
tldext = tldextract.TLDExtract(extract_cache_file)
|
||||||
result = self.match()
|
result = self.match()
|
||||||
if result:
|
if result:
|
||||||
|
|||||||
Reference in New Issue
Block a user