From 1976f645cb2e1672fbd2d4db89c880add969be31 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 16 Oct 2025 12:21:17 +0800 Subject: [PATCH] bugfix --- appPublic/streamhttpclient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appPublic/streamhttpclient.py b/appPublic/streamhttpclient.py index 0a2d825..a54f70c 100755 --- a/appPublic/streamhttpclient.py +++ b/appPublic/streamhttpclient.py @@ -41,13 +41,13 @@ class StreamHttpClient: def _load_socks_urls(self): if self.socks_urls_file.exists(): - return [line.strip() for line in self.socks_url_file.read_text().splitlines() if line.strip()] + return [line.strip() for line in self.socks_urls_file.read_text().splitlines() if line.strip()] return [] def _save_socks_url(self, url): if url not in self.socks_urls: self.socks_urls.add(url) - with self.socks_url_file.open("a") as f: + with self.socks_urls_file.open("a") as f: f.write(url + "\n") async def request(self, method, url, *,