minor fixes

-don't show print subprocess commands to py-interpreter.log
This commit is contained in:
Martin Konecny 2013-03-08 12:39:29 -05:00
parent 3969e38d51
commit 30970598fe
2 changed files with 1 additions and 2 deletions

View file

@ -21,7 +21,7 @@ def run_process(command):
"""
Run subprocess and return "return code"
"""
p = Popen(command)
p = Popen(command, stdout=PIPE, stderr=PIPE)
return os.waitpid(p.pid, 0)[1]
def get_mime_type(file_path):