From ce04cbdd8e646d8b90c4d765776e9804e2a9ef85 Mon Sep 17 00:00:00 2001 From: jnolti <96271985+jnolti@users.noreply.github.com> Date: Sun, 19 Dec 2021 20:51:50 +0100 Subject: [PATCH] Update my_stations.py Replaced line 4 in stations.py with import oyaml as yaml Note: Install oyaml (https://github.com/wimglenn/oyaml) before using this version. Result: Stations from stations.yml now appear in the original order as written in the file. --- ycast/my_stations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ycast/my_stations.py b/ycast/my_stations.py index 64df667..a14d0ae 100644 --- a/ycast/my_stations.py +++ b/ycast/my_stations.py @@ -1,7 +1,7 @@ import logging import hashlib -import yaml +import oyaml as yaml import ycast.vtuner as vtuner import ycast.generic as generic