Skip to content

Commit 8516669

Browse files
author
palkeo
committed
Fix minor regression.
1 parent 30ee281 commit 8516669

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

panoramix.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -369,10 +369,10 @@ def dec():
369369
key=lambda f: f.priority()
370370
) # sort func list by length, with some caveats
371371

372-
if shown_already and any(1 for f in func_list if f.hash not in shown_already):
373-
# otherwise no irregular functions, so this is not needed :)
374-
print(C.gray + "#\n# Regular functions\n#" + C.end + "\n")
375-
372+
if any(1 for f in func_list if f.hash not in shown_already):
373+
if shown_already:
374+
# otherwise no irregular functions, so this is not needed :)
375+
print(C.gray + "#\n# Regular functions\n#" + C.end + "\n")
376376
else:
377377
print(
378378
"\n"

0 commit comments

Comments
 (0)