флаг --cfproxy-priority был объявлен как type=bool в argparse. Строка false считается непустой и превращается в True, поэтому пользователь не мог надежно выключить приоритет Cloudflare через CLI.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/Flowseal/tg-ws-proxy/pull/797
**Author:** [@deexsed](https://github.com/deexsed)
**Created:** 4/30/2026
**Status:** ✅ Merged
**Merged:** 4/30/2026
**Merged by:** [@Flowseal](https://github.com/Flowseal)
**Base:** `main` ← **Head:** `fix/argparse`
---
### 📝 Commits (1)
- [`ae35f1a`](https://github.com/Flowseal/tg-ws-proxy/commit/ae35f1aee9a1faa911aebf3cc9341322d70b0845) Fix --cfproxy-priority CLI parsing
### 📊 Changes
**1 file changed** (+11 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `proxy/tg_ws_proxy.py` (+11 -1)
</details>
### 📄 Description
флаг `--cfproxy-priority` был объявлен как `type=bool` в argparse. Строка `false` считается непустой и превращается в `True`, поэтому пользователь не мог надежно выключить приоритет Cloudflare через CLI.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/Flowseal/tg-ws-proxy/pull/797
Author: @deexsed
Created: 4/30/2026
Status: ✅ Merged
Merged: 4/30/2026
Merged by: @Flowseal
Base:
main← Head:fix/argparse📝 Commits (1)
ae35f1aFix --cfproxy-priority CLI parsing📊 Changes
1 file changed (+11 additions, -1 deletions)
View changed files
📝
proxy/tg_ws_proxy.py(+11 -1)📄 Description
флаг
--cfproxy-priorityбыл объявлен какtype=boolв argparse. Строкаfalseсчитается непустой и превращается вTrue, поэтому пользователь не мог надежно выключить приоритет Cloudflare через CLI.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
[PR #797] [MERGED] Fix --cfproxy-priority CLI parsingto [PR #797] Fix --cfproxy-priority CLI parsing[PR #797] Fix --cfproxy-priority CLI parsingto [PR #797] [MERGED] Fix --cfproxy-priority CLI parsing