summaryrefslogtreecommitdiff
path: root/gerber/render/theme.py
diff options
context:
space:
mode:
authorHamilton Kibbe <ham@hamiltonkib.be>2016-09-29 19:43:28 -0400
committerHamilton Kibbe <ham@hamiltonkib.be>2016-09-29 19:43:28 -0400
commit0fedaedb6ebb8cc6abfc218d224a3ab69bb71b56 (patch)
treed20628693a23482be3ff6dcfc341469e35da7e53 /gerber/render/theme.py
parent6b054c6815c1c5496041747156963fb2f46a7c0c (diff)
downloadgerbonara-0fedaedb6ebb8cc6abfc218d224a3ab69bb71b56.tar.gz
gerbonara-0fedaedb6ebb8cc6abfc218d224a3ab69bb71b56.tar.bz2
gerbonara-0fedaedb6ebb8cc6abfc218d224a3ab69bb71b56.zip
Add more layer hints as seen in the wild
Diffstat (limited to 'gerber/render/theme.py')
-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