diff --git a/anki/models.py b/anki/models.py index b4daf03b1..088f192c6 100644 --- a/anki/models.py +++ b/anki/models.py @@ -15,7 +15,7 @@ Model - define the way in which facts are added and shown import time from sqlalchemy.ext.orderinglist import ordering_list from anki.db import * -from anki.utils import genID, canonifyTags, safeClassName +from anki.utils import genID, canonifyTags from anki.fonts import toPlatformFont from anki.utils import parseTags, hexifyID, checksum from anki.lang import _ diff --git a/anki/utils.py b/anki/utils.py index 190108293..6991ead46 100644 --- a/anki/utils.py +++ b/anki/utils.py @@ -208,8 +208,5 @@ This is safe if you use sqlite primary key columns, which are guaranteed to be integers.""" return "(%s)" % ",".join([str(i) for i in ids]) -def safeClassName(name): - return name - def checksum(data): return md5(data).hexdigest()