Removed redundant code.
This commit is contained in:
parent
6258b79023
commit
05fe7fc62e
|
|
@ -336,10 +336,7 @@ class Pin(object):
|
|||
pin.sub_part = int(g[8])
|
||||
pin.convert = int(g[9])
|
||||
pin.type = g[10]
|
||||
if len(g) == 12:
|
||||
pin.gtype = g[11]
|
||||
else:
|
||||
pin.gtype = None
|
||||
pin.gtype = g[11]
|
||||
return pin
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue