#!/usr/bin/python\r
# coding: UTF-8\r
# Rec10 TS Recording Tools\r
-# Copyright (C) 2009-2010 Yukikaze\r
+# Copyright (C) 2009-2011 Yukikaze\r
import os\r
-\r
+import os.path\r
import warnings\r
warnings.filterwarnings('ignore', "the sets module is deprecated")\r
import configreader\r
import dbMySQL\r
import timerec\r
path = str(os.path.dirname(os.path.abspath(__file__))) + "/"\r
+tmppath = configreader.getConfPath("tmp")+"/"\r
+if tmppath=="/":\r
+ tmppath=path\r
+if not os.path.exists(tmppath):\r
+ os.makedirs(tmppath)\r
global rec10db\r
def main():\r
timerec.task()\r