OSDN Git Service

make it to 0.8.0
[rec10/rec10-git.git] / Rec10WEB / trunk / src / rec10web.py
index 2407d6c..7a24eae 100644 (file)
@@ -9,7 +9,6 @@ import rec10web_dbSQLite
 import os
 import re
 import datetime
-import rec10web_dbSQLite
 import ConfigParser
 import time
 cgitb.enable()
@@ -34,8 +33,6 @@ def getdb():
         dbpwd = getdbpath("mysql_passwd")
         dbport = int(getdbpath("mysql_port"))
         retdb = rec10web_dbMySQL.DB_MySQL(dbname=dbn, host=dbh, user=dbu, passwd=dbpwd, port=dbport)
-    else:
-        retdb = rec10web_dbSQLite.DB_SQLite(dbpath)
     return retdb
 def getRecDate():
     dl = database.select_all_rectime()