From 53d703bee18af9b069e64370d6e368da092710ec Mon Sep 17 00:00:00 2001 From: John Lukach Date: Sun, 28 May 2023 22:30:02 +0000 Subject: [PATCH] test --- mmi/__init__.py | 2 +- mmi/cli.py | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/mmi/__init__.py b/mmi/__init__.py index 81e396a..6625df6 100644 --- a/mmi/__init__.py +++ b/mmi/__init__.py @@ -10,4 +10,4 @@ __gtfo__ = GTFO = pathlib.Path.joinpath(pathlib.Path.home(), 'gtfo.bloom') __mmi__ = MMI = pathlib.Path.joinpath(pathlib.Path.home(), 'mmi.bloom') -__version__ = VERSION = '2023.5.28' \ No newline at end of file +__version__ = VERSION = '2023.5.29' \ No newline at end of file diff --git a/mmi/cli.py b/mmi/cli.py index 3d1d284..d756c34 100644 --- a/mmi/cli.py +++ b/mmi/cli.py @@ -292,5 +292,10 @@ def main(): if args.download: download() else: - with concurrent.futures.ThreadPoolExecutor() as executor: - executor.submit(start, args.skip) \ No newline at end of file + if __mmi__.is_file() == False: + print('MISSING: '+str(__mmi__)) + elif __gtfo__.is_file() == False: + print('MISSING: '+str(__gtfo__)) + else: + with concurrent.futures.ThreadPoolExecutor() as executor: + executor.submit(start, args.skip) \ No newline at end of file