From a981850bb221735bc0bcb750791228c9f8198143 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 29 Jan 2017 22:53:16 +0100 Subject: style --- lesana/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lesana/collection.py b/lesana/collection.py index 92ffcbb..78b3e95 100644 --- a/lesana/collection.py +++ b/lesana/collection.py @@ -274,7 +274,7 @@ class Collection(object): ) for uid in uids: entry = self.entry_from_uid(uid) - if not entry is None: + if entry is not None: cache.delete_document(entry.idterm) os.remove(os.path.join(self.itemdir, entry.fname)) else: -- cgit v1.2.3