diff --git a/src/python/dm/daq_web_service/service/impl/dmFileSystemEventHandler.py b/src/python/dm/daq_web_service/service/impl/dmFileSystemEventHandler.py index b7ba939b26876fed9a518772225ac5d4f9caa28c..1fb34486f3420a913c2c7aa7a7fa82fdc1514aa6 100755 --- a/src/python/dm/daq_web_service/service/impl/dmFileSystemEventHandler.py +++ b/src/python/dm/daq_web_service/service/impl/dmFileSystemEventHandler.py @@ -39,7 +39,7 @@ class DmFileSystemEventHandler(FileSystemEventHandler): self.logger.debug('File system directory modified event: %s' % (event.__dict__)) if event.is_directory: try: - files = glob.glob(event.src_path+'/*.*') + files = glob.glob(os.path.join(event.src_path,'*.*')) self.logger.debug('File system directory modified event: %s , src path: %s , latest files: %s' % (event.__dict__, event.src_path, files)) if len(files) > 0: filePath = max(files, key=os.path.getctime)