From 28baba18d26ee8dffa61ca8cb3c4ea025152a474 Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Wed, 27 Apr 2022 13:35:04 +0100 Subject: [PATCH] lint --- app/lists/bc2.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/lists/bc2.py b/app/lists/bc2.py index e8125f3..118c695 100644 --- a/app/lists/bc2.py +++ b/app/lists/bc2.py @@ -31,11 +31,13 @@ class BypassCensorship2(BaseModel): class Config: title = "Bypass Censorship Version 2" + def mirror_sites(): return { "version": "2.0", "sites": [{ - "main_domain": x.description[len("proxy:"):].replace("www.", "") if x.description.startswith("proxy:") else x.domain_name.replace("www.", ""), + "main_domain": x.description[len("proxy:"):].replace("www.", "") if x.description.startswith( + "proxy:") else x.domain_name.replace("www.", ""), "available_alternatives": [ { "proto": "tor" if ".onion" in a.url else "https",