Skip to content

Commit

Permalink
Merge pull request #114 from openclimatefix/rss-field
Browse files Browse the repository at this point in the history
Update to remove BST which isn't understood
  • Loading branch information
jacobbieker authored Sep 13, 2022
2 parents 5a1fedc + 8009724 commit bb5e00f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Empty file added examples/get_all_rss_systems.py
Empty file.
5 changes: 3 additions & 2 deletions pvoutput/pvoutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -1119,9 +1119,10 @@ def wait_for_rate_limit_reset(self, do_sleeping: bool = True) -> int:
retry_time_utc = utc_now + timedelta_to_wait

# good to have the retry time in local so that user see 'their' time
retry_time_local = retry_time_utc.tz_convert(tz=datetime.now(tzlocal()).tzname())
#retry_time_local = retry_time_utc.tz_convert(tz=datetime.now(tzlocal()).tzname())
retry_time_local = retry_time_utc
_print_and_log(
"Waiting {:.0f} seconds. Will retry at {}".format(secs_to_wait, retry_time_local)
"Waiting {:.0f} seconds. Will retry at {} UTC".format(secs_to_wait, retry_time_local)
)
if do_sleeping:
time.sleep(secs_to_wait)
Expand Down

0 comments on commit bb5e00f

Please sign in to comment.