Skip to content

Commit 9bd40a4

Browse files
committed
bcc_info: Fix variable reference
1 parent 05c619c commit 9bd40a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bcc_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def parse_pyarmor_data(code_obj, bcc_list: list[tuple[int, str]]) -> Optional[tu
8686
print(" Constants:")
8787
for i, c in enumerate(code_obj.co_consts[const_index + 1]):
8888
print(f" {i + 3}: {c}")
89-
if isinstance(const, type((lambda: None).__code__)):
89+
if isinstance(c, type((lambda: None).__code__)):
9090
bcc_consts.append(str(c))
9191
else:
9292
bcc_consts.append(c)

0 commit comments

Comments
 (0)