From 905b42a3c0d659296a629e1d3fb30aaa5dc1bdc7 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Wed, 11 Mar 2020 21:22:30 +0100 Subject: [PATCH] Skip comparing the whole stat obj --- magicbus/plugins/opsys.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/magicbus/plugins/opsys.py b/magicbus/plugins/opsys.py index 9072c446..bd35f974 100644 --- a/magicbus/plugins/opsys.py +++ b/magicbus/plugins/opsys.py @@ -283,7 +283,4 @@ def join(self, timeout=None, poll_interval=0.1): if pid_creation_time > initial_creation_time: return # file has been replaced - if pid_stat != initial_stat: - return # file has been changed - time.sleep(poll_interval)