CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
- adding comment
This commit is contained in:
parent
a85f284296
commit
a156548ba6
|
@ -272,6 +272,9 @@ class AirtimeProcessEvent(ProcessEvent):
|
|||
now = time.time()
|
||||
if now - t > 5:
|
||||
# check if file exist
|
||||
# When whole directory is copied to the organized dir,
|
||||
# inotify doesn't fire IN_CLOSE_WRITE, hench we need special way of
|
||||
# handling those cases.
|
||||
if os.path.exists(k):
|
||||
# check if file is open
|
||||
command = "lsof "+k
|
||||
|
|
Loading…
Reference in New Issue