From 0fedaedb6ebb8cc6abfc218d224a3ab69bb71b56 Mon Sep 17 00:00:00 2001 From: Hamilton Kibbe Date: Thu, 29 Sep 2016 19:43:28 -0400 Subject: Add more layer hints as seen in the wild --- gerber/render/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerber/render/theme.py') diff --git a/gerber/render/theme.py b/gerber/render/theme.py index d382a8d..2887216 100644 --- a/gerber/render/theme.py +++ b/gerber/render/theme.py @@ -53,7 +53,7 @@ class Theme(object): return getattr(self, key) def get(self, key, noneval=None): - val = getattr(self, key) + val = getattr(self, key, None) return val if val is not None else noneval -- cgit