Commit cbf5c1bb authored by Andreas Freise's avatar Andreas Freise
Browse files

small fix for pdtype.

parent db61a45d
......@@ -312,7 +312,7 @@ class photodiode(Detector):
if self.scale != None and self.scale !='':
rtn.append("scale {1} {0}".format(, self.scale))
if self.pdtype != None:
if self.pdtype != None and self.pdtype != '':
rtn.append("pdtype {0} {1}".format(, self.pdtype))
if self.noplot:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment