diff --git a/xpra/scripts/main.py b/xpra/scripts/main.py index c17567bc40..77c3d196a6 100755 --- a/xpra/scripts/main.py +++ b/xpra/scripts/main.py @@ -128,7 +128,7 @@ def main(script_file, cmdline): def nomd5(*_args): raise ValueError("md5 support is disabled") hashlib.md5 = nomd5 - if envbool("XPRA_SHA1", False): + if envbool("XPRA_NOSHA1", False): import hashlib # @Reimport try: hashlib.algorithms_available.remove("sha1") # @UndefinedVariable