20250211.1739298558
This commit is contained in:
parent
9ee2590395
commit
7010641ed8
1 changed files with 11 additions and 0 deletions
|
@ -659,6 +659,17 @@ if __name__ == "__main__":
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Connection problem: {e}")
|
print(f"Connection problem: {e}")
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
try:
|
||||||
|
# I want to know if diary is encrypted...
|
||||||
|
subprocess.run(
|
||||||
|
["jrnl", "--decrypt"],
|
||||||
|
input=b"", # Пустой ввод, чтобы не ввести пароль
|
||||||
|
)
|
||||||
|
except Exception as e:
|
||||||
|
print(str(e))
|
||||||
|
raise
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if sys.argv[1] == "export":
|
if sys.argv[1] == "export":
|
||||||
export()
|
export()
|
||||||
|
|
Loading…
Add table
Reference in a new issue