From fa7d76f39ef2ca94f1b4a1ba01039f748664f523 Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 18 Sep 2022 23:59:03 -0400 Subject: Fix tools/unnamed.py and add tools/consts.py --- tools/unnamed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/unnamed.py') diff --git a/tools/unnamed.py b/tools/unnamed.py index 265f1452..9dcf5cb3 100755 --- a/tools/unnamed.py +++ b/tools/unnamed.py @@ -48,8 +48,8 @@ objects = None if args.rootdir: for line in subprocess.Popen(['make', '-C', args.rootdir, '-s', '-p', 'DEBUG=1'], stdout=subprocess.PIPE).stdout.read().decode().split('\n'): - if line.startswith('pokered_obj := '): - objects = line[19:].strip().split() + if line.startswith('pokered_obj :='): + objects = line[len('pokered_obj :='):].strip().split() break else: print('Error: Object files not found!', file=sys.stderr) -- cgit v1.3.1-sl0p