mirror of
https://github.com/ankitects/anki.git
synced 2025-12-31 15:52:58 -05:00
don't fail on old sqlalchemy
This commit is contained in:
parent
80fb6c5230
commit
97cf06b333
1 changed files with 7 additions and 6 deletions
|
|
@ -42,6 +42,7 @@ except ImportError:
|
|||
|
||||
# dump location of non-unicode string
|
||||
from sqlalchemy import util
|
||||
if getattr(util, 'warn', None):
|
||||
import traceback
|
||||
oldWarn = util.warn
|
||||
def newWarn(*args, **kwargs):
|
||||
|
|
|
|||
Loading…
Reference in a new issue