Removed redundant code.

This commit is contained in:
SET 2020-08-14 18:01:03 -03:00
parent 6258b79023
commit 05fe7fc62e
1 changed files with 1 additions and 4 deletions

View File

@ -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