fix when list emty by start of wirepy
This commit is contained in:
parent
6c0662c62c
commit
c220951781
Binary file not shown.
@ -102,11 +102,15 @@ class Create:
|
|||||||
text=True,
|
text=True,
|
||||||
check=True,
|
check=True,
|
||||||
)
|
)
|
||||||
# print(process.stdout)
|
path = Path.home() / ".config/wire_py/"
|
||||||
|
file_in_path = list(path.rglob("*.dat"))
|
||||||
|
if file_in_path:
|
||||||
if process.returncode == 0:
|
if process.returncode == 0:
|
||||||
print("File successfully decrypted...")
|
print("File successfully decrypted...")
|
||||||
else:
|
else:
|
||||||
print(f"Error with the following code... {process.returncode}")
|
print(f"Error with the following code... {process.returncode}")
|
||||||
|
else:
|
||||||
|
print(_("Ready for import"))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def encrypt():
|
def encrypt():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user