From 4b834a1699d520fc297cdc2f5b00770145080612 Mon Sep 17 00:00:00 2001 From: nick Date: Sat, 20 Aug 2022 15:13:57 -0400 Subject: [PATCH] Forgot to write to defaults :/ --- src/tfscript/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tfscript/__init__.py b/src/tfscript/__init__.py index 34efd24..a615d17 100644 --- a/src/tfscript/__init__.py +++ b/src/tfscript/__init__.py @@ -31,7 +31,7 @@ def makeCFG(cfg, default=False): # Doubles are weird. All of the toggles got put into a dictionary. # This takes all of the nested dictionaries and turns them into the right string - if condDict != defaultDict: + if default or condDict != defaultDict: # ==, and by extension !=, does in fact check # for dictionary equality in keys and values for key, toggles in condDict.items():