From 2476e120ad158fe0baa2d8c19d154f6c9a63894b Mon Sep 17 00:00:00 2001 From: Alan Du Date: Wed, 26 Feb 2020 23:25:34 -0500 Subject: [PATCH] Fix type warning --- pylib/anki/notes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylib/anki/notes.py b/pylib/anki/notes.py index 6d6cf4174..aed366aee 100644 --- a/pylib/anki/notes.py +++ b/pylib/anki/notes.py @@ -63,7 +63,7 @@ class Note: self.mid, self.mod, self.usn, - self.tags, + tags, fields, self.flags, self.data, @@ -74,7 +74,7 @@ from notes where id = ?""", self.id, ) self.fields = splitFields(fields) - self.tags = self.col.tags.split(self.tags) + self.tags = self.col.tags.split(tags) self._model = self.col.models.get(self.mid) self._fmap = self.col.models.fieldMap(self._model) self.scm = self.col.scm