From e0f69149a8ccd8bd0f16ce0e4fd45fc6069be06a Mon Sep 17 00:00:00 2001
From: Klaus Rabbertz <klaus.rabbertz@cern.ch>
Date: Sun, 21 Feb 2021 01:50:55 +0100
Subject: [PATCH] Fixed fix

---
 tools/plotting/fastnnlo_runtime.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/plotting/fastnnlo_runtime.py b/tools/plotting/fastnnlo_runtime.py
index 33f93fbc..39ef415a 100755
--- a/tools/plotting/fastnnlo_runtime.py
+++ b/tools/plotting/fastnnlo_runtime.py
@@ -260,7 +260,7 @@ def plot_elapsed_time(infodict, out_path, out_name, formats):
 
     # plot histogram
 
-    if len(unique_channels) > 1 or unique_channels[0] == 'ALL':
+    if len(unique_channels) > 1 or [unique_channels] == 'ALL':
         n, batches, _ = ax.hist(times, bins=20, color='deepskyblue', edgecolor='black', label='Total CPU time: {0:0.0f} hours'.format(CPUtime))
         ax.legend(loc='best', fontsize=20)
     else:
-- 
GitLab