diff options
-rwxr-xr-x | release/rtool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/rtool.py b/release/rtool.py index f40e8dcb..4a6d1e16 100755 --- a/release/rtool.py +++ b/release/rtool.py @@ -196,7 +196,7 @@ def make_bdist(): executable += ".exe" # Remove _main suffix from mitmproxy executable - if executable.startswith("mitmproxy_main"): + if "_main" in executable: shutil.move( executable, executable.replace("_main", "") |