개정판 97a795c0
issue #000: fix size unit
Change-Id: I543c55de16af0aa5a873820ea083278428833fb8
DTI_PID/DTI_PID/Shapes/EngineeringReducerItem.py | ||
---|---|---|
45 | 45 |
first, second = '', '' |
46 | 46 |
text = matches[0].text().replace("'", '"').upper() |
47 | 47 |
# for imperial |
48 |
if text.find('"') is not -1: |
|
48 |
if sizeUnit == 'Imperial' and text.find('"') is not -1:
|
|
49 | 49 |
first = text[:text.find('"') + 1] |
50 | 50 |
|
51 | 51 |
text = text[text.find('"') + 1:].replace(delimiter.upper(), '', |
내보내기 Unified diff