summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-02-20 20:31:29 +0100
committerMattias Andrée <maandree@kth.se>2017-02-20 20:31:55 +0100
commitd0816862538da70ddfca0e95eeb6ed0be69fa83c (patch)
treef4636425da6c6ecf59d7554cbff50e6d33d9ff17
parentUpdate year and e-mail (diff)
downloadblueshift-d0816862538da70ddfca0e95eeb6ed0be69fa83c.tar.gz
blueshift-d0816862538da70ddfca0e95eeb6ed0be69fa83c.tar.bz2
blueshift-d0816862538da70ddfca0e95eeb6ed0be69fa83c.tar.xz
example: weather, comprehensive: doc reading from ~/.config/metar
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--examples/comprehensive1
-rw-r--r--examples/weather1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/comprehensive b/examples/comprehensive
index fd945fe..548e272 100644
--- a/examples/comprehensive
+++ b/examples/comprehensive
@@ -55,6 +55,7 @@ latitude, longitude = 59.3326, 18.0652
# the weather.
# (Stockholm Bromma Airport in this example.)
airport = 'ESSB'
+# You can also use None if you have ~/.config/metar set.
# Custom dayness by time settings.
time_alpha = [['02:00', 0], ['08:00', 1], ['22:00', 1]]
diff --git a/examples/weather b/examples/weather
index c31f3a4..1d008e1 100644
--- a/examples/weather
+++ b/examples/weather
@@ -25,6 +25,7 @@ latitude, longitude = 59.3326, 18.0652
# code of the nearest airport.
# (Stockholm Bromma Airport in this example.)
airport = 'ESSB'
+# You can also use None if you have ~/.config/metar set.
# Command used to download a file at an HTTP URL
download_command = None