X-Git-Url: https://git.ralfj.de/lets-encrypt-tiny.git/blobdiff_plain/da8bb6f65ba6f1316f2517cde9a9f2dc389d18f3..53d17049bb85096d7f640ca1c8960f3dc6362fc9:/letsencrypt-tiny diff --git a/letsencrypt-tiny b/letsencrypt-tiny index 2e8ea14..eef52e7 100755 --- a/letsencrypt-tiny +++ b/letsencrypt-tiny @@ -21,7 +21,7 @@ def keyfile(name): def make_backup(fname): if os.path.exists(fname): - os.makedirs(config['dirs']['backups']) + os.makedirs(config['dirs']['backups'], exist_ok = True) backupname = os.path.basename(fname) + "." + str(datetime.date.today()) i = 0 while True: