From 09134eaba485d3d03cbcf0bd3d77ce98ac9bc7b7 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 30 Mar 2020 21:14:48 -0500 Subject: [PATCH] comment sneakernet --- src/sneakernet/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sneakernet/__init__.py b/src/sneakernet/__init__.py index 6535615c..e32b64af 100644 --- a/src/sneakernet/__init__.py +++ b/src/sneakernet/__init__.py @@ -46,9 +46,11 @@ class _Importer(FileSystemEventHandler): def sneakernet_import_thread(): + """Add block data dir & confed paths to fs observer to watch for new bls""" observer = Observer() for path in watch_paths: observer.schedule(_Importer(), path, recursive=True) observer.start() while observer.isAlive(): + # call import func with timeout observer.join(60) \ No newline at end of file