diff --git a/confluent_server/confluent/syncfiles.py b/confluent_server/confluent/syncfiles.py index 1f739ba1..068d1ae4 100644 --- a/confluent_server/confluent/syncfiles.py +++ b/confluent_server/confluent/syncfiles.py @@ -336,7 +336,7 @@ def cleanit(): del toreap[nn] else: toreap[nn] = 1 - elif nn is in toreap: + elif nn in toreap: del toreap[nn] eventlet.sleep(30)