Skip to content

Fixed rep and selectedProfile not being defined for offline or demo accounts - #27

Merged
nickelpro merged 1 commit into
SpockBotMC:masterfrom
gamingrobot:offlineaccount-fix
Jan 2, 2015
Merged

Fixed rep and selectedProfile not being defined for offline or demo accounts#27
nickelpro merged 1 commit into
SpockBotMC:masterfrom
gamingrobot:offlineaccount-fix

Conversation

@gamingrobot

Copy link
Copy Markdown
Member

For demo accounts the authentication returns a valid response except for selectedProfiles is empty.
For non authenticated accounts rep was not defined so it would crash out.

nickelpro pushed a commit that referenced this pull request Jan 2, 2015
Fixed rep and selectedProfile not being defined for offline or demo accounts
@nickelpro
nickelpro merged commit 91f27cb into SpockBotMC:master Jan 2, 2015
@nickelpro

Copy link
Copy Markdown
Member

Ehhhhh, if you're offline you should set self.authenticated = False using a settings construct or something. I'm actually on the fense about this commit, better to fail loudly and all that. But, it can stay for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants