20250211.1739298558

This commit is contained in:
fz0x1 2025-02-11 19:29:18 +01:00
parent 9ee2590395
commit 7010641ed8

View file

@ -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()