3 # Rec10 TS Recording Tools
4 # Copyright (C) 2009-2011 Yukikaze
8 mypath = str(os.path.dirname(os.path.abspath(__file__)))
9 confp = ConfigParser.SafeConfigParser()
11 confpath=os.path.join(mypath,Conf)
13 def getTempConfPath(string):
15 return confp.get('path', string)
16 def setTempConfPath(option,value):
18 return confp.set('path',option,value)
19 def setTempConfDB(option,value):
21 return confp.set('db',option,value)
22 def setTempConfEnv(option,value):
24 return confp.set('env',option,value)
25 def setTempConfDVB(option,value):
27 return confp.set('dvb',option,value)