mirror of
https://github.com/weewx/weewx.git
synced 2026-05-24 17:55:15 -04:00
fix indents. webpath default to None.
This commit is contained in:
@@ -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."""
|
||||
|
||||
@@ -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
|
||||
|
||||
##############################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user