From e359f12a0e00d7b61e3ae5cd110ddeac1cb77661 Mon Sep 17 00:00:00 2001 From: Gerard Lanois Date: Sun, 10 May 2026 16:50:08 -0700 Subject: [PATCH] Update from '%' operator to format string syntax. --- python/ppt/find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ppt/find.py b/python/ppt/find.py index 2a3ccec..7387ca1 100644 --- a/python/ppt/find.py +++ b/python/ppt/find.py @@ -51,7 +51,7 @@ def find(path, aall, regex): def main(args): if not os.path.isdir(args.path): - print('ERROR: %s is not a directory' % args.path()) + print('ERROR: {} is not a directory'.format(args.path)) else: if args.ignore_case: args.regex = '(?i)' + args.regex