Skip to content

Commit

Permalink
doh: negate switch
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Apr 29, 2023
1 parent e932222 commit 716ad46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 716ad46

Please sign in to comment.