Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions smadata2/pvoutputorg.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def format_datetime(dt):
class API(object):
"""Represents the pvoutput.org web API, for a particular system

API documentation can be found at http://pvoutput.org/help.html#api-spec"""
API documentation can be found at https://pvoutput.org/help/api_specification.html"""

def __init__(self, baseurl, apikey, sid):
if not baseurl:
Expand Down Expand Up @@ -334,7 +334,7 @@ def days_ago_accepted_by_api(self):

def main():
if len(sys.argv) == 3:
baseurl = "http://pvoutput.org"
baseurl = "https://pvoutput.org"
apikey = sys.argv[1]
sid = sys.argv[2]
elif len(sys.argv) == 4:
Expand Down