mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
move pymysql.install_as_MySQLdb() to newsblur.__init__.py in case there is an issue with MySQLdb
This commit is contained in:
parent
111a4e9961
commit
6ae0f1ff70
2 changed files with 5 additions and 4 deletions
|
@ -1,3 +0,0 @@
|
|||
import pymysql
|
||||
|
||||
pymysql.install_as_MySQLdb()
|
|
@ -4,4 +4,8 @@ from __future__ import absolute_import, unicode_literals
|
|||
# Django starts so that shared_task will use this app.
|
||||
from .celeryapp import app as celery_app
|
||||
|
||||
__all__ = ['celery_app']
|
||||
__all__ = ['celery_app']
|
||||
|
||||
import pymysql
|
||||
|
||||
pymysql.install_as_MySQLdb()
|
Loading…
Add table
Reference in a new issue