From 306431f0b850fc39132af36064ea2d9daa32fa51 Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Sun, 4 Dec 2016 17:41:31 +0000 Subject: [PATCH] release: fix dropping _main suffix --- release/rtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/rtool.py b/release/rtool.py index f40e8dcb4..4a6d1e160 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", "")