crawler: typo in comment
parent
3c09dbdf31
commit
945e0dceab
|
@ -512,7 +512,7 @@ import pymysql.cursors
|
||||||
|
|
||||||
|
|
||||||
class MySQLCacheHandler(BaseCache):
|
class MySQLCacheHandler(BaseCache):
|
||||||
" NB. Requires mono-threading, as pymysql doesn't isn't thread-safe "
|
" NB. Requires mono-threading, as pymysql isn't thread-safe "
|
||||||
def __init__(self, user, password, database, host='localhost'):
|
def __init__(self, user, password, database, host='localhost'):
|
||||||
self.con = pymysql.connect(host=host, user=user, password=password, database=database, charset='utf8', autocommit=True)
|
self.con = pymysql.connect(host=host, user=user, password=password, database=database, charset='utf8', autocommit=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue