diff --git a/Apixu/README.md b/Apixu/README.md index 7244868..0342b92 100644 --- a/Apixu/README.md +++ b/Apixu/README.md @@ -2,4 +2,4 @@ apixu weather api client Dont forget to: -config supybot.plugins.Apixu.apiKey your_api_key +config supybot.plugins.Apixu.apiKey your_api_key \ No newline at end of file diff --git a/Apixu/config.py b/Apixu/config.py index 9f95de5..25a2b33 100644 --- a/Apixu/config.py +++ b/Apixu/config.py @@ -1,5 +1,5 @@ ### -# Copyright (c) 2019, Pedro de Oliveira +# Copyright (c) 2020, Pedro de Oliveira # All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/Apixu/plugin.py b/Apixu/plugin.py index a9dcf44..c52fa65 100644 --- a/Apixu/plugin.py +++ b/Apixu/plugin.py @@ -1,5 +1,5 @@ ### -# Copyright (c) 2019, Pedro de Oliveira +# Copyright (c) 2020, Pedro de Oliveira # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ class Apixu(callbacks.Plugin): self.prepend = "8,12weatherstack" def __do_request(self, action, arguments): - baseurl = "http://api.weatherstack.com/" + baseurl = "https://api.weatherstack.com/" response = requests.get(baseurl + action + "?" + urlencode(arguments)) return json.loads(response.content.decode('utf-8')) diff --git a/Apixu/test.py b/Apixu/test.py index 9da9831..7ed582d 100644 --- a/Apixu/test.py +++ b/Apixu/test.py @@ -1,5 +1,5 @@ ### -# Copyright (c) 2019, Pedro de Oliveira +# Copyright (c) 2020, Pedro de Oliveira # All rights reserved. # # Redistribution and use in source and binary forms, with or without