Fixed stupid parameter mistake initializing the Almanac.

v2.0.0b15
This commit is contained in:
Tom Keffer
2012-10-31 13:20:12 +00:00
parent b3c67be6c3
commit db25b56f40
3 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@
"""
import time
__version__="2.0.0b14"
__version__="2.0.0b15"
# Holds the program launch time in unix epoch seconds:
# Useful for calculating 'uptime.'

View File

@@ -99,11 +99,11 @@ class FileGenerator(weewx.reportengine.CachedReportGenerator):
self.almanac = weewx.almanac.Almanac(celestial_ts,
self.station.latitude_f,
self.station.longitude_f,
altitude_vt[0],
temperature_C,
pressure_mbar,
self.moonphases,
self.formatter)
altitude=altitude_vt[0],
temperature=temperature_C,
pressure=pressure_mbar,
moon_phases=self.moonphases,
formatter=self.formatter)
def getRecord(self, archivedb, time_ts):
"""Get an observation record from the archive database, returning

View File

@@ -32,7 +32,7 @@ WEEWX_ROOT = /home/weewx
socket_timeout = 20
# Current version
version = 2.0.0b14
version = 2.0.0b15
############################################################################################