From da8bb6f65ba6f1316f2517cde9a9f2dc389d18f3 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 1 May 2023 19:17:46 +0200 Subject: [PATCH 1/1] make sure backup dir exists --- letsencrypt-tiny | 1 + 1 file changed, 1 insertion(+) diff --git a/letsencrypt-tiny b/letsencrypt-tiny index b0b9894..2e8ea14 100755 --- a/letsencrypt-tiny +++ b/letsencrypt-tiny @@ -21,6 +21,7 @@ def keyfile(name): def make_backup(fname): if os.path.exists(fname): + os.makedirs(config['dirs']['backups']) backupname = os.path.basename(fname) + "." + str(datetime.date.today()) i = 0 while True: -- 2.30.2