From a9282b7ee56215e8d810917fed41d9de06d7ab10 Mon Sep 17 00:00:00 2001 From: kseen Date: Sun, 18 Aug 2024 08:52:30 +0300 Subject: [PATCH] Typo fix --- README.md | 2 +- src/common.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c98a8bc..45ba484 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ We include all known proxies of listed sites to raise chance of correct routing. - microsoft - from [[x]](https://networksdb.io/ip-addresses-of/microsoft-corp) - netflix - from [[x]](https://rockblack.su/vpn/dopolnitelno/diapazon-ip-adresov) - nhentai.net - from [[x]](https://networksdb.io/domain-to-ips/nhentai.net) -- raw.githubusercontent.com - from [[x]](https://networksdb.io/). Sometimes images in repos can't be loaded without this IPs in hosts. +- raw.githubusercontent.com - from [[x]](https://networksdb.io/). Sometimes images in repos can't be loaded without these IPs in hosts. - rutracker.org - from [[x]](https://networksdb.io/) - x.com - from [[x]](https://rockblack.su/vpn/dopolnitelno/diapazon-ip-adresov) - xhamster.com - from [[x]](https://networksdb.io/) diff --git a/src/common.py b/src/common.py index b752973..bde941c 100644 --- a/src/common.py +++ b/src/common.py @@ -243,7 +243,7 @@ def is_cidr_valid(cidr: str): if bit != '0': log_info(f'{str_ip}') log_info(f'{_str_ip}') - log_info(f'{'1' * mask}' + '0' * (32 - mask)) + log_info(f'{"1" * mask}' + '0' * (32 - mask)) return False return True elif ':' in cidr: @@ -267,7 +267,7 @@ def is_cidr_valid(cidr: str): if bit != '0': log_info(f'{str_ip}') log_info(f'{_str_ip}') - log_info(f'{'1' * mask}' + '0' * (128 - mask)) + log_info(f'{"1" * mask}' + '0' * (128 - mask)) return False return True