Skip to content

Commit

Permalink
Skip comparing the whole stat obj
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Feb 11, 2021
1 parent 1c463c1 commit a5e5a0d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions magicbus/plugins/opsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,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)

0 comments on commit a5e5a0d

Please sign in to comment.