diff --git a/__pycache__/cls_mth_fc.cpython-312.pyc b/__pycache__/cls_mth_fc.cpython-312.pyc index fddcbdb..3009fde 100644 Binary files a/__pycache__/cls_mth_fc.cpython-312.pyc and b/__pycache__/cls_mth_fc.cpython-312.pyc differ diff --git a/cls_mth_fc.py b/cls_mth_fc.py index c602ac9..f83f2cc 100755 --- a/cls_mth_fc.py +++ b/cls_mth_fc.py @@ -102,12 +102,16 @@ class Create: text=True, check=True, ) - # print(process.stdout) - if process.returncode == 0: - print("File successfully decrypted...") + path = Path.home() / ".config/wire_py/" + file_in_path = list(path.rglob("*.dat")) + if file_in_path: + if process.returncode == 0: + print("File successfully decrypted...") + else: + print(f"Error with the following code... {process.returncode}") else: - print(f"Error with the following code... {process.returncode}") - + print(_("Ready for import")) + @staticmethod def encrypt(): """