fix when list emty by start of wirepy
This commit is contained in:
parent
6c0662c62c
commit
c220951781
Binary file not shown.
@ -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():
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user