From 3ea6eeced8206fee9950d125d65d31c9beb81d9f Mon Sep 17 00:00:00 2001 From: Lertsenem Date: Fri, 21 Aug 2015 18:54:18 +0200 Subject: [PATCH] Mistakes --- persoconf/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/persoconf/main.py b/persoconf/main.py index 53ce1a5..f08a73f 100755 --- a/persoconf/main.py +++ b/persoconf/main.py @@ -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)