mirror of
https://github.com/weewx/weewx.git
synced 2026-04-18 00:26:57 -04:00
Bug fix on wee_report for arbitrary time.
Fixed bug that was introduced in v3.6.0, which prevented wee_report from working for anything other than the current time.
This commit is contained in:
@@ -60,7 +60,7 @@ def main():
|
||||
|
||||
stn_info = weewx.station.StationInfo(**config_dict['Station'])
|
||||
|
||||
t = weewx.reportengine.StdReportEngine(config_dict, stn_info, gen_ts)
|
||||
t = weewx.reportengine.StdReportEngine(config_dict, stn_info, gen_ts=gen_ts)
|
||||
|
||||
# Although the report engine inherits from Thread, we can just run it in the main thread:
|
||||
t.run()
|
||||
|
||||
@@ -23,6 +23,9 @@ Fixed reference to index.html.tmpl in the xstats example.
|
||||
Changed algorithm for calculating ET to something more appropriate for
|
||||
hourly values (former algorithm assumed daily values). Fixes issue #160.
|
||||
|
||||
Fixed bug that was introduced in v3.6.0, which prevented wee_reports for working
|
||||
at anything other than the current time.
|
||||
|
||||
|
||||
3.6.2 11/08/2016
|
||||
|
||||
|
||||
Reference in New Issue
Block a user