From 2228afff38c84a2d31a10c093ee0d449203da8db Mon Sep 17 00:00:00 2001 From: I542771 Date: Tue, 21 May 2024 09:00:27 +0200 Subject: [PATCH] readd kwh_to_tj conversion --- co2calculator/constants.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/co2calculator/constants.py b/co2calculator/constants.py index 11f0904..43d9b58 100644 --- a/co2calculator/constants.py +++ b/co2calculator/constants.py @@ -7,6 +7,8 @@ import iso3166 from co2calculator.data_handlers import Airports +KWH_TO_TJ = 277777.77777778 + class HeatingFuel(enum.Enum): """Enum for heating fuel types"""