From 84a93523c5f283945e017e7d255e714c92049b4d Mon Sep 17 00:00:00 2001 From: gn64_jp Date: Fri, 17 Feb 2012 03:42:06 +0000 Subject: [PATCH] fix installer git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@913 4e526526-5e11-4fc0-8910-f8fd03428081 --- rec10/trunk/src/scan_ch.py | 5 ++++- rec10/trunk/src/timerec.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rec10/trunk/src/scan_ch.py b/rec10/trunk/src/scan_ch.py index 7d46aca..4761481 100644 --- a/rec10/trunk/src/scan_ch.py +++ b/rec10/trunk/src/scan_ch.py @@ -108,7 +108,10 @@ def getChProgNum(ch): pout=os.path.join(tmppath,"ch_"+str(ch)+".ts") logt=tv2ts.tv2tsmix(pout, ch, "10") retl=getTsProgNum(ch,pout) - os.remove(pout) + try: + os.remove(pout) + except: + "" return [retl,logt] def getTsProgNum(ch,tspath): pin=tspath diff --git a/rec10/trunk/src/timerec.py b/rec10/trunk/src/timerec.py index 18c403a..93105ea 100644 --- a/rec10/trunk/src/timerec.py +++ b/rec10/trunk/src/timerec.py @@ -47,7 +47,7 @@ def task(): sys.exit(0) except Exception, inst: recdblist.addCommonlogEX("Error", "install_check(timerec.py)", str(type(inst)),str(inst)+traceback.format_exc(),log_level=200) - install.install() + #install.install() recdb.deleteOldProgramBeforeTheseHours("24") recdb.delete_old_auto_bayes("1") recdb.delete_old_auto_keyword("1") -- 2.11.0