diff --git a/emotion-depechemood/depechemood_plugin.py b/emotion-depechemood/depechemood_plugin.py index 9f7a883..39367e8 100644 --- a/emotion-depechemood/depechemood_plugin.py +++ b/emotion-depechemood/depechemood_plugin.py @@ -19,7 +19,6 @@ def ignore(dchars): tbl = str.maketrans("", "", deletechars) ignore = lambda s: s.translate(tbl) else: - from functools import partial def ignore(s): return string.translate(s, None, deletechars) return ignore