rmartin16 / qbittorrentui

text user interface for qbittorrent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pseudocode operator on line 76 in file application.py

marshall-brown opened this issue · comments

if ver := details.get("server_version", ""):

image

Running on WSL
image

Let me know if you allow PRs :)

Hi @marshall-brown,
That's the walrus operator; it was introduced in Python 3.8....more or less for this specific scenario. Python 3.6 will definitely get upset about it though; try it with 3.8 or newer and you should be good to go. (FWIW, I recommend pyenv for simple management of multiple python versions.)

Ill upgrade test and report back