diff options
Diffstat (limited to 'cloud_mdir_sync/main.py')
-rw-r--r-- | cloud_mdir_sync/main.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cloud_mdir_sync/main.py b/cloud_mdir_sync/main.py index 54c9363..fdff700 100644 --- a/cloud_mdir_sync/main.py +++ b/cloud_mdir_sync/main.py @@ -125,12 +125,10 @@ def main(): cfg.load_config(args.CFG) cfg.loop = asyncio.get_event_loop() with contextlib.closing(pyinotify.WatchManager()) as wm, \ - contextlib.closing(messages.MessageDB(cfg)) as msgdb, \ - open("trace", "wb") as trace: + contextlib.closing(messages.MessageDB(cfg)) as msgdb: pyinotify.AsyncioNotifier(wm, cfg.loop) cfg.watch_manager = wm cfg.msgdb = msgdb - cfg.trace_file = trace cfg.loop.run_until_complete(synchronize_mail(cfg)) cfg.loop.run_until_complete(cfg.loop.shutdown_asyncgens()) |