OSDN Git Service

fix LANG.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sat, 14 Jan 2012 15:24:31 +0000 (15:24 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sat, 14 Jan 2012 15:24:31 +0000 (15:24 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@899 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/recording_earth_pt1.py

index caf28e7..5bb15a5 100644 (file)
@@ -73,7 +73,7 @@ def getActiveAdapter(channel):
 def record(channel,tsid,out,timelength,decode=1):
     if not os.path.exists(tmppath+u"rec.sh"):
         ft=open(tmppath+u"rec.sh","w")
-        ft.write(u"#!/bin/bash\n/bin/cat $1 > $2")
+        ft.write(u"#!/bin/bash\n/bin/cat $1 > \"$2\"")
         ft.close()
         os.system(u"chmod +x "+tmppath+u"rec.sh")
     adapt=getActiveAdapter(channel)