master
Lertsenem 2015-08-21 18:54:18 +02:00
parent dcc0625b3c
commit 3ea6eeced8
1 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ if not os.path.isdir(args.rootdir):
log.info("Creating persoconf directory...") log.info("Creating persoconf directory...")
os.mkdir(args.rootdir) os.mkdir(args.rootdir)
print("New persoconf directory created at '%s'" % arg.rootdir) print("New persoconf directory created at '%s'" % args.rootdir)
# ADD COMMAND # ADD COMMAND
######################################## ########################################
@ -304,7 +304,7 @@ if args.command == "add":
# Copy the file (or directory) # Copy the file (or directory)
if copy_file_or_directory(log, path_dst=confpath, path_src=args.conf, overwrite=False): if copy_file_or_directory(log, path_dst=confpath, path_src=args.conf, overwrite=False):
log.info("New conf dir '%s' associated with app '%s'" % confname, args.app) log.info("New conf dir '%s' associated with app '%s'" % (confname, args.app))
else: else:
log.error("Failed to copy file or directory %s" % args.conf) log.error("Failed to copy file or directory %s" % args.conf)
exit(1) exit(1)