From 5d67e85b78cca2ec841589ed719b94650cdbecd5 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Fri, 11 Jan 2019 00:33:41 +0530 Subject: [PATCH] Update README, server.py for Windows update --- README.md | 2 ++ server.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index ad56222..bd44696 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,5 @@ To check weather for your location simply run the following command in a termina ### In Fahrenheit + Weather for one week - `curl sky.webionite.com/f/location` + Weather for today - `curl sky.webionite.com/f/location/t` + +Replace sky.webionite.com/ with sky.webionite.com/plain/ on Windows diff --git a/server.py b/server.py index 0a79f7c..0017a35 100644 --- a/server.py +++ b/server.py @@ -150,6 +150,8 @@ def index(): "In Fahrenheit\n" "+ Weather for one week - curl sky.webionite.com/f/location \n" "+ Weather for today - curl sky.webionite.com/f/location/t\n\n" + "Replace sky.webionite.com/ with sky.webionite.com/plain/ on " + "Windows \n\n" + config.source + "\n") return text