Small fix on format_distance to show zero like 0'.

This commit is contained in:
Bruno Perdigão
2024-08-23 23:08:22 -03:00
parent 7a2e58944e
commit 3ceeaa739f
@@ -202,7 +202,7 @@ def format_distance(
if not isArea:
add_inches = bool(inches) or not suppress_zero_inches
tx_dist = ""
if feet:
if feet is not None:
tx_dist += str(feet) + "'"
if feet and add_inches:
tx_dist += " - "