From 8516669c06409dd4cc4be62347ba6d934c4d44b5 Mon Sep 17 00:00:00 2001 From: palkeo Date: Fri, 24 Apr 2020 18:38:53 +1200 Subject: [PATCH] Fix minor regression. --- panoramix.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/panoramix.py b/panoramix.py index 5734e482..7d539dd9 100644 --- a/panoramix.py +++ b/panoramix.py @@ -369,10 +369,10 @@ def dec(): key=lambda f: f.priority() ) # sort func list by length, with some caveats - if shown_already and any(1 for f in func_list if f.hash not in shown_already): - # otherwise no irregular functions, so this is not needed :) - print(C.gray + "#\n# Regular functions\n#" + C.end + "\n") - + if any(1 for f in func_list if f.hash not in shown_already): + if shown_already: + # otherwise no irregular functions, so this is not needed :) + print(C.gray + "#\n# Regular functions\n#" + C.end + "\n") else: print( "\n"