fix format of line
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ class fpdb_db:
|
|||||||
if use_pool:
|
if use_pool:
|
||||||
MySQLdb = pool.manage(MySQLdb, pool_size=5)
|
MySQLdb = pool.manage(MySQLdb, pool_size=5)
|
||||||
# try:
|
# try:
|
||||||
self.db = MySQLdb.connect(host = host, user = user, passwd = password, db = database, use_unicode=True)
|
self.db = MySQLdb.connect(host=host, user=user, passwd=password, db=database, use_unicode=True)
|
||||||
#TODO: Add port option
|
#TODO: Add port option
|
||||||
# except:
|
# except:
|
||||||
# raise FpdbMySQLFailedError("MySQL connection failed")
|
# raise FpdbMySQLFailedError("MySQL connection failed")
|
||||||
|
|||||||
Reference in New Issue
Block a user