X-Git-Url: https://git.ralfj.de/lets-encrypt-tiny.git/blobdiff_plain/1aaa458b500a616239126d19511e0696b560f24d..53d17049bb85096d7f640ca1c8960f3dc6362fc9:/letsencrypt-tiny diff --git a/letsencrypt-tiny b/letsencrypt-tiny index b0b9894..eef52e7 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'], exist_ok = True) backupname = os.path.basename(fname) + "." + str(datetime.date.today()) i = 0 while True: