summaryrefslogtreecommitdiff
path: root/render-icon-theme.py
diff options
context:
space:
mode:
Diffstat (limited to 'render-icon-theme.py')
-rwxr-xr-xrender-icon-theme.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/render-icon-theme.py b/render-icon-theme.py
index d6713337f..68fd93eeb 100755
--- a/render-icon-theme.py
+++ b/render-icon-theme.py
@@ -12,12 +12,11 @@ SRC = os.path.join('.', 'src', 'fullcolor')
inkscape_process = None
def optimize_png(png_file):
- return
if os.path.exists(ZOPFLIPNG):
- process = subprocess.Popen([ZOPFLIPNG, '-y', '-m', png_file, png_file])
+ process = subprocess.Popen([ZOPFLIPNG, '-y', '-m', png_file, png_file], stdout=open(os.devnull, 'wb'))
process.wait()
elif os.path.exists(OPTIPNG):
- process = subprocess.Popen([OPTIPNG, '-quiet', '-o7', png_file])
+ process = subprocess.Popen([OPTIPNG, '-quiet', '-o7', png_file], stdout=open(os.devnull, 'wb'))
process.wait()
def wait_for_prompt(process, command=None):