From 1205dddc9ec5f18d412a86496030716f5c92a6bd Mon Sep 17 00:00:00 2001 From: Shane Frischkorn Date: Fri, 11 Feb 2022 11:14:00 +1000 Subject: [PATCH] Fixing bug --- converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converter.py b/converter.py index 72d593e..0dde5c0 100644 --- a/converter.py +++ b/converter.py @@ -144,7 +144,7 @@ class Handler(watchdog.events.PatternMatchingEventHandler): logging.error('Timeout waiting for file {} to exist. Aborting processing.'.format(event.src_path)) return - + historicalSize = -1 while (historicalSize != os.path.getsize(event.src_path)): logging.info('waiting for copy to finish....') historicalSize = os.path.getsize(event.src_path)