From cf9d4d8ea94b6a95d0ec0ba2a3e05093b5917c55 Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Wed, 9 Oct 2013 00:12:38 +0000 Subject: [PATCH] fix indents. webpath default to None. --- bin/weewx/station.py | 2 +- weewx.conf | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/bin/weewx/station.py b/bin/weewx/station.py index ca60f404..a26dc4b4 100644 --- a/bin/weewx/station.py +++ b/bin/weewx/station.py @@ -51,7 +51,7 @@ class StationInfo(object): self.longitude_f = float(stn_dict['longitude']) self.location = stn_dict.get('location', 'Unknown') self.week_start = int(stn_dict.get('week_start', 6)) - self.webpath = stn_dict.get('webpath', 'www.weewx.com') + self.webpath = stn_dict.get('webpath', None) class Station(object): """Formatted version of StationInfo.""" diff --git a/weewx.conf b/weewx.conf index 45e88f73..0424021b 100644 --- a/weewx.conf +++ b/weewx.conf @@ -34,11 +34,10 @@ version = 2.5.0a3 ############################################################################## [Station] - - # # This section is for information about your station - # + # Description of the station location. If there is a comma in the + # description, then put the description in quotes. location = "Hood River, Oregon" # Latitude, longitude in decimal degrees @@ -66,8 +65,8 @@ version = 2.5.0a3 # Simulator station_type = Vantage - # If desired, replace with your website: - webpath = www.weewx.com + # If desired, specify the URL to your station's web site. + #webpath = www.example.com ##############################################################################