Merge branch '1.9.1' of dev.sourcefabric.org:airtime into 1.9.1

This commit is contained in:
Martin Konecny 2011-11-09 15:09:25 -05:00
commit 0c0e4294d3

View file

@ -274,7 +274,8 @@ class AirtimeProcessEvent(ProcessEvent):
# 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.
# handling those cases. We are manully calling handle_created_file
# function.
if os.path.exists(k):
# check if file is open
command = "lsof "+k