diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-12-04 18:43:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-04 18:43:02 +0100 |
commit | 1fc1a17c61c585b1858a5da4e82276a6fc48af58 (patch) | |
tree | 5a7e01afd6793168b79559c92984d6450b9ddd2d /release/rtool.py | |
parent | 9697f5f656210d6d26f1f8c0ebccdcd0fba1c1db (diff) | |
parent | 306431f0b850fc39132af36064ea2d9daa32fa51 (diff) | |
download | mitmproxy-1fc1a17c61c585b1858a5da4e82276a6fc48af58.tar.gz mitmproxy-1fc1a17c61c585b1858a5da4e82276a6fc48af58.tar.bz2 mitmproxy-1fc1a17c61c585b1858a5da4e82276a6fc48af58.zip |
Merge pull request #1813 from dwfreed/patch-1
release: fix dropping _main suffix
Diffstat (limited to 'release/rtool.py')
-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", "") |