From dec37eec4900a6ee232ea97e3ef92ee333b52a38 Mon Sep 17 00:00:00 2001 From: bogdanni Date: Mon, 17 Mar 2014 14:42:33 +0100 Subject: [PATCH] 'nlst' - compositing layer association display fix --- glymur/jp2box.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glymur/jp2box.py b/glymur/jp2box.py index 578ef36..6c7526f 100644 --- a/glymur/jp2box.py +++ b/glymur/jp2box.py @@ -2502,7 +2502,7 @@ class NumberListBox(Jp2kBox): elif (association >> 24) == 2: idx = association & 0x00FFFFFF msg += 'Compositing Layer {0}' - msg = msg.format(j, idx) + msg = msg.format(idx) else: msg += 'unrecognized' return msg