mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
black
This commit is contained in:
committed by
Massimo Fabbro
parent
87283874a1
commit
27d0b04db5
@@ -289,7 +289,7 @@ class Unit(bonsai.core.tool.Unit):
|
||||
return f"{feet}'"
|
||||
# If feet is 0, just show inches
|
||||
elif feet == 0:
|
||||
return f"{inches:.4g}\""
|
||||
return f'{inches:.4g}"'
|
||||
# Show both feet and inches
|
||||
else:
|
||||
return f"{feet}'{inches:.4g}\""
|
||||
|
||||
Reference in New Issue
Block a user