Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Remove unneeded if/else at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Gillies committed Mar 9, 2017
1 parent e53a93d commit 3a67f83
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ The input to `analytics` method are resource_type, username, id, period, access_

``` python
>>> response = analytics.analytics(resource_type, username, id, start, end)
>>> if response.status_code == 401:
... print "Please export valid MAPBOX_ACCESS_TOKEN"
... else:
... print response.status_code
>>> response.status_code
200

```

0 comments on commit 3a67f83

Please sign in to comment.