From 81415a8be1ca8e09fe66d54c1ec4916a5d67078a Mon Sep 17 00:00:00 2001 From: Igor Pavlov Date: Wed, 20 Mar 2024 12:54:39 +0300 Subject: [PATCH] fix: add if in __main__.py --- fsconnectors/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fsconnectors/__main__.py b/fsconnectors/__main__.py index 5e0b7a9..26be698 100644 --- a/fsconnectors/__main__.py +++ b/fsconnectors/__main__.py @@ -2,4 +2,5 @@ from .cli import main -asyncio.run(main()) +if __name__ == "__main__": + asyncio.run(main())