OSDN Git Service

fix tmp file permission.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Mon, 6 Feb 2012 13:27:08 +0000 (13:27 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Mon, 6 Feb 2012 13:27:08 +0000 (13:27 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@911 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/ts2epg.py

index 011eb96..56f9030 100644 (file)
@@ -56,6 +56,7 @@ def writeEpgXMLTime(pout, ch ,times,islogo=0):
     logoopt=""\r
     if islogo==1:\r
         logoopt="/LOGO "\r
+    os.chmod(pout+".ts",0755)\r
     exe = "export LANG=ja_JP.UTF-8 && nice -n 15 " + epgdump + " " +logoopt+ mode + " " + pout + ".ts " + pout\r
     recdblist.printutf8(exe)\r
     recdblist.addCommonlogEX(u"通常", "write_time(ts2epg.py) "+str(ch), exe,"",log_level=500)\r