Skip to content

Commit

Permalink
Update gist.py
Browse files Browse the repository at this point in the history
set max_gists 100
  • Loading branch information
UncleBill committed Sep 23, 2012
1 parent 1a963ea commit fa662ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gist.py
Expand Up @@ -30,6 +30,7 @@
if settings.get('max_gists') <= 100:
GISTS_URL += '?per_page=%d' % settings.get('max_gists');
else:
settings.set("max_gists",100)
sublime.error_message("Gist: GitHub API does not support a value of higher than 100")

class MissingCredentialsException(Exception):
Expand Down

0 comments on commit fa662ad

Please sign in to comment.