Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix last_km_awarded error for new account #6160

Merged
merged 2 commits into from
Jul 29, 2017
Merged

Conversation

Alexus230
Copy link
Contributor

Short Description:

This PR fixes error with last_km_awarded, which apears on newly created accounts.

Fixes/Resolves/Closes (please use correct syntax):

@mention-bot
Copy link

@Alexus230, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeXtroTip, @ChaosMarc and @pablossp to be potential reviewers.

@nbq
Copy link
Collaborator

nbq commented Jul 28, 2017

@Alexus230 Please reference the travis build fail and fix those issues. Thanks!

@@ -132,6 +132,9 @@ def work(self):
if not self.buddy:
return WorkerResult.SUCCESS

+ if not self.buddy.has_key('last_km_awarded'):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed at this statement.... wrong indentation? Extra space?

@Alexus230
Copy link
Contributor Author

@nbq Ok, that was my fault (copy-paste from master branch) :D fixed now

@MerlionRock
Copy link
Contributor

MerlionRock commented Jul 29, 2017

👍

Approved with PullApprove

@MerlionRock MerlionRock merged commit cf40e41 into PokemonGoF:dev Jul 29, 2017
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.

4 participants