From 9bd3f1b45a2608f5e467ca9c2508cef6ec8d6bae Mon Sep 17 00:00:00 2001 From: Bugra Onal Date: Wed, 13 Jul 2022 16:36:14 -0700 Subject: [PATCH] None check syntax fix --- compiler/globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/globals.py b/compiler/globals.py index 2b7995e9..e3c42761 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -379,7 +379,7 @@ def read_config(config_file, is_unit_test=True): OPTS.tech_name) # If write size is not defined, set it equal to word size - if OPTS.write_size == None: + if OPTS.write_size is None: OPTS.write_size = OPTS.word_size