projects
/
lets-encrypt-tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
of course it is okay for that dir to already exist...
[lets-encrypt-tiny.git]
/
letsencrypt-tiny
diff --git
a/letsencrypt-tiny
b/letsencrypt-tiny
index b0b98944b2ca88297564948662eca2f3f71177ba..eef52e7548cc113223c005e073ff2e9b2bbfbdeb 100755
(executable)
--- a/
letsencrypt-tiny
+++ b/
letsencrypt-tiny
@@
-21,6
+21,7
@@
def keyfile(name):
def make_backup(fname):
if os.path.exists(fname):
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:
backupname = os.path.basename(fname) + "." + str(datetime.date.today())
i = 0
while True: