Mistakes
parent
dcc0625b3c
commit
3ea6eeced8
|
@ -238,7 +238,7 @@ if not os.path.isdir(args.rootdir):
|
|||
log.info("Creating persoconf directory...")
|
||||
os.mkdir(args.rootdir)
|
||||
|
||||
print("New persoconf directory created at '%s'" % arg.rootdir)
|
||||
print("New persoconf directory created at '%s'" % args.rootdir)
|
||||
|
||||
# ADD COMMAND
|
||||
########################################
|
||||
|
@ -304,7 +304,7 @@ if args.command == "add":
|
|||
|
||||
# Copy the file (or directory)
|
||||
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:
|
||||
log.error("Failed to copy file or directory %s" % args.conf)
|
||||
exit(1)
|
||||
|
|
Loading…
Reference in New Issue