aboutsummaryrefslogtreecommitdiffstats
path: root/tools/unnamed.py
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-09-18 23:59:03 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2022-09-18 23:59:03 -0400
commitfa7d76f39ef2ca94f1b4a1ba01039f748664f523 (patch)
tree0ff9751bb44db26fffe7c8f376c4a5c56d99386b /tools/unnamed.py
parentUpdate and add more tool scripts (diff)
downloadpokeyellow-fa7d76f39ef2ca94f1b4a1ba01039f748664f523.tar.gz
pokeyellow-fa7d76f39ef2ca94f1b4a1ba01039f748664f523.tar.xz
pokeyellow-fa7d76f39ef2ca94f1b4a1ba01039f748664f523.zip
Fix tools/unnamed.py and add tools/consts.py
Diffstat (limited to 'tools/unnamed.py')
-rwxr-xr-xtools/unnamed.py4
1 files changed, 2 insertions, 2 deletions
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)