From 5410acd745bc4170ea610f1da7345ab6ad469642 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Mon, 25 Feb 2019 16:04:33 -0500 Subject: [PATCH] use this helper it might even let us refactor someday --- src/allmydata/frontends/magic_folder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index 7cc239cf1..e0a2c8179 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -1037,7 +1037,7 @@ class Uploader(QueueMixin): if magicpath.should_ignore_file(relpath_u): action.add_success_fields(ignored=True, already_pending=False, size=None) return - if relpath_u in self._pending: + if self.is_pending(relpath_u): action.add_success_fields(ignored=False, already_pending=True, size=None) return