tronikos / opower

A Python library for getting historical and forecasted usage/cost from utilities that use opower.com such as PG&E
Apache License 2.0
53 stars 49 forks source link

Added new line for change account detection in PECO #49

Closed levelonedev closed 8 months ago

levelonedev commented 8 months ago

I was unable to sign into PECO.

I determined that it was because the account selection screen was popping up and being incorrectly determined. I added a second check in the if statement to correctly identify it. (I don't know if this breaks it for the normal login path because I don't have an account to test it with.)

I don't know if this is the proper fix but it now works for me. Any feedback is welcome.

tronikos commented 8 months ago

I don't have a PECO account. I don't see how this could break other user.