From 68d51e40370dbba400a51e23e140df1a52eecfe6 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 4 Feb 2021 01:00:41 +0100 Subject: [PATCH] rem --- bin/copyparty-fuse-streaming.py | 2 +- bin/copyparty-fuse.py | 2 +- copyparty/__main__.py | 2 +- scripts/sfx.py | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/copyparty-fuse-streaming.py b/bin/copyparty-fuse-streaming.py index 2176aca9..266cdc71 100755 --- a/bin/copyparty-fuse-streaming.py +++ b/bin/copyparty-fuse-streaming.py @@ -1067,7 +1067,7 @@ def main(): dbg = null_log if WINDOWS: - os.system("") + os.system("rem") for ch in '<>:"\\|?*': # microsoft maps illegal characters to f0xx diff --git a/bin/copyparty-fuse.py b/bin/copyparty-fuse.py index e221ba54..2eb9b9fd 100755 --- a/bin/copyparty-fuse.py +++ b/bin/copyparty-fuse.py @@ -980,7 +980,7 @@ def main(): dbg = null_log if WINDOWS: - os.system("") + os.system("rem") for ch in '<>:"\\|?*': # microsoft maps illegal characters to f0xx diff --git a/copyparty/__main__.py b/copyparty/__main__.py index 2b4fcce7..cd17db95 100644 --- a/copyparty/__main__.py +++ b/copyparty/__main__.py @@ -88,7 +88,7 @@ def ensure_cert(): def main(): time.strptime("19970815", "%Y%m%d") # python#7980 if WINDOWS: - os.system("") # enables colors + os.system("rem") # enables colors desc = py_desc().replace("[", "\033[1;30m[") diff --git a/scripts/sfx.py b/scripts/sfx.py index aa0dd6a7..dd3bb704 100644 --- a/scripts/sfx.py +++ b/scripts/sfx.py @@ -402,7 +402,6 @@ def bye(sig, frame): def main(): sysver = str(sys.version).replace("\n", "\n" + " " * 18) pktime = time.strftime("%Y-%m-%d, %H:%M:%S", time.gmtime(STAMP)) - os.system("") msg() msg(" this is: copyparty", VER) msg(" packed at:", pktime, "UTC,", STAMP)