Revert custom temp definition (#6502)

This commit is contained in:
Oliver 2024-02-16 12:22:05 +11:00 committed by GitHub
parent d9b769d27b
commit e88defd026
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,11 +45,6 @@ def reload_unit_registry():
reg.define('hundred = 100')
reg.define('thousand = 1000')
# Temperature units
reg.define('degreeC = °C = degC = celsius = Celsius')
reg.define('degreeF = °F = degF = fahrenheit = Fahrenheit')
reg.define('degreeK = °K = degK = kelvin = Kelvin')
# Allow for custom units to be defined in the database
try:
from common.models import CustomUnit