summaryrefslogtreecommitdiff
path: root/gerber/render
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/render')
-rw-r--r--gerber/render/theme.py2
1 files changed, 1 insertions, 1 deletions
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