diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-10-09 22:09:16 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-10-09 22:09:16 +0200 |
commit | 49c4088ceb02da735d549014aaa9cba8c729ba54 (patch) | |
tree | 9ae70f02f4c548b7e7d2409eef89505cbd1924db /pavement.py | |
parent | added nodejs as usuable js engine (diff) | |
download | pyload-49c4088ceb02da735d549014aaa9cba8c729ba54.tar.xz |
modified Api: filter downloads by state
Diffstat (limited to 'pavement.py')
-rw-r--r-- | pavement.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pavement.py b/pavement.py index 6ed9b8689..6c4925acf 100644 --- a/pavement.py +++ b/pavement.py @@ -182,7 +182,9 @@ def ttypes(options): outdir = PROJECT_DIR / "module" / "remote" - (outdir / "gen-py").rmtree() + + if (outdir / "gen-py").exists(): + (outdir / "gen-py").rmtree() cmd = [options.ttypes.path, "-strict", "-o", outdir, "--gen", "py:slots,dynamic", outdir / "pyload.thrift"] |