From da92c043f8b67ae653c23a69391f3250d04378bf Mon Sep 17 00:00:00 2001
From: Yaman Umuroglu <maltanar@gmail.com>
Date: Tue, 11 Aug 2020 12:56:36 +0200
Subject: [PATCH] [Util] Python style compliance

---
 src/finn/util/vcd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/finn/util/vcd.py b/src/finn/util/vcd.py
index e1fe2df03..a4400f7bd 100644
--- a/src/finn/util/vcd.py
+++ b/src/finn/util/vcd.py
@@ -175,7 +175,7 @@ def get_all_stream_if_stats(vcd_file, stream_ifs=None, sort_by="{'V': 1, 'R': 0}
     if stream_ifs is None:
         stream_ifs = list_stream_if(vcd_file)
 
-    if num_workers == None:
+    if num_workers is None:
         num_workers = get_num_default_workers()
 
     with mp.Pool(num_workers) as p:
-- 
GitLab