diff --git a/src/wormhole/cli/welcome.py b/src/wormhole/cli/welcome.py index 32c1f84..2380ce8 100644 --- a/src/wormhole/cli/welcome.py +++ b/src/wormhole/cli/welcome.py @@ -11,8 +11,9 @@ def handle_welcome(welcome, relay_url, my_version, stderr): # Only warn if we're running a release version (e.g. 0.0.6, not # 0.0.6+DISTANCE.gHASH). Only warn once. - if ("current_cli_version" in welcome and "+" not in my_version and - welcome["current_cli_version"] != my_version): + if (("current_cli_version" in welcome and + "+" not in my_version and + welcome["current_cli_version"] != my_version)): print( ("Warning: errors may occur unless both sides are running the" " same version"),