Skip to content

Commit

Permalink
add user output about backup directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell committed Dec 20, 2016
1 parent 2dec180 commit f499a0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion anaconda_clean.py
Expand Up @@ -14,7 +14,7 @@
]
HOME = expanduser('~')
BACKUP_DIR = join(HOME, '.anaconda_backup',
time.strftime("%Y-%m-%dT%H-%M-%S", time.localtime()))
time.strftime("%Y-%m-%dT%H%M%S", time.localtime()))


def get_input(msg):
Expand All @@ -26,6 +26,7 @@ def get_input(msg):

def delete_file(path):
if not isdir(BACKUP_DIR):
print("Backup directory: %s" % BACKUP_DIR)
os.makedirs(BACKUP_DIR)

try:
Expand Down

0 comments on commit f499a0d

Please sign in to comment.