Skip to content

Commit

Permalink
Merge pull request #72 from wanyulaowang/master
Browse files Browse the repository at this point in the history
修复CloudflareSpeedTest优选插件
  • Loading branch information
linyuan0213 authored Feb 4, 2025
2 parents 4c6b462 + d50db45 commit 0badded
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/plugins/modules/cloudflarespeedtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class CloudflareSpeedTest(_IPluginModule):
# 主题色
module_color = "#F6821F"
# 插件版本
module_version = "1.0"
module_version = "1.1"
# 插件作者
module_author = "thsrite"
# 作者主页
Expand Down Expand Up @@ -245,8 +245,8 @@ def cloudflareSpeedTest(self):
CloudflareSpeedTest优选
"""
self._cf_path = self.get_data_path()
self._ipv4 = os.path.join(self._cf_path, "ip.txt")
self._ipv6 = os.path.join(self._cf_path, "ipv6.txt")
self._cf_ipv4 = os.path.join(self._cf_path, "ip.txt")
self._cf_ipv6 = os.path.join(self._cf_path, "ipv6.txt")
self._result_file = os.path.join(self._cf_path, "result_hosts.txt")

# 获取自定义Hosts插件,若无设置则停止
Expand Down

0 comments on commit 0badded

Please sign in to comment.