logo=pin.replace(".avi",".log")
os.environ['LANG']="ja_JP.UTF-8"
txt= exe0+"\n"+exe1+"\n"+exe2+"\n"+exe3+"\n"
- txt = txt+unicode(commands.getoutput(exe0.encode('utf-8')),'utf-8')
- txt = txt+unicode(commands.getoutput(exe1.encode('utf-8')),'utf-8')
- txt = txt+unicode(commands.getoutput(exe2.encode('utf-8')),'utf-8')
- txt = txt+unicode(commands.getoutput(exe3.encode('utf-8')),'utf-8')
+ try:
+ txt = txt+unicode(commands.getoutput(exe0.encode('utf-8')),'utf-8')
+ txt = txt+unicode(commands.getoutput(exe1.encode('utf-8')),'utf-8')
+ txt = txt+unicode(commands.getoutput(exe2.encode('utf-8')),'utf-8')
+ txt = txt+unicode(commands.getoutput(exe3.encode('utf-8')),'utf-8')
+ except:
+ ""
os.remove(audiopath)
os.remove(videopath)
txt = "\n####MKV2MP4-log####\n"+txt