Skip to content
Snippets Groups Projects
Commit a8ca9d51 authored by Manuela Kuhn's avatar Manuela Kuhn
Browse files

Added monitored subfolders (like local) into relative path

parent 237996f1
No related branches found
No related tags found
No related merge requests found
......@@ -178,6 +178,10 @@ class InotifyDetector():
(parentDir,relDir) = os.path.split(parentDir)
relativePath += os.sep + relDir
else:
# add the local, commissional or current to the relativePath as well
(parentDir,relDir) = os.path.split(parentDir)
relativePath += os.sep + relDir
# the event for a file /tmp/test/source/local/file1.tif is of the form:
# {
# "sourcePath" : "/tmp/test/source/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment