From 3a2c4b12f0829562632efac2193f80f990ae4014 Mon Sep 17 00:00:00 2001 From: Geoff Larsen Date: Wed, 26 Aug 2020 08:40:42 -0600 Subject: [PATCH] Fix code syntax errors Lost in "translation" somewhere during the merges. Needed to fix compiler errors --- nodes/aeris.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/aeris.py b/nodes/aeris.py index 06099cd..71049fc 100644 --- a/nodes/aeris.py +++ b/nodes/aeris.py @@ -362,7 +362,7 @@ def query_conditions(self): LOGGER.error('Precipitation and max/min/average summary update failure') LOGGER.error(e) self.update_driver('GV6', precipitation) - try: + try: # Calculate ETo based on actual values # Calculate ETo # Temp is in degree C and windspeed is in m/s, we may need to @@ -401,7 +401,7 @@ def query_conditions(self): LOGGER.debug('Latitude= '+str(Latitude)) LOGGER.debug('Setting Ws: %f m/s' % (Ws)) et0 = et3.evapotranspriation(Tmax, Tmin, SolRad, Ws, Elevation, Hmax, Hmin, Latitude, float(self.params.get('Plant Type')), J, Tavg) - if self.units == 'metric' + if self.units == 'metric': self.update_driver('GV20', round(et0, 2)) else: self.update_driver('GV20', self.mm2inch(et0), 3)