--- a/scripts/uninstall.py Wed Apr 21 19:40:50 2021 +0200 +++ b/scripts/uninstall.py Thu Apr 22 18:02:47 2021 +0200 @@ -97,11 +97,11 @@ @param wfile basename (without extension) of the wrapper script @return the names of the wrapper scripts """ - if sys.platform.startswith(("win", "cygwin")): - wnames = (dname + "\\" + wfile + ".cmd", - dname + "\\" + wfile + ".bat") - else: - wnames = (dname + "/" + wfile, ) + wnames = ( + (dname + "\\" + wfile + ".cmd", dname + "\\" + wfile + ".bat") + if sys.platform.startswith(("win", "cygwin")) else + (dname + "/" + wfile, ) + ) return wnames