Skip to content
Browse files

Update gist.py

when max_gists is great than 100,set it 100
  • Loading branch information...
1 parent fa662ad commit 6d1976a9d142c8833cc38f93d5e526f19439214f @UncleBill UncleBill committed Sep 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gist.py
View
2 gist.py
@@ -30,7 +30,7 @@
if settings.get('max_gists') <= 100:
GISTS_URL += '?per_page=%d' % settings.get('max_gists');
else:
- settings.set("max_gists",100)
+ settings.set( "max_gists",100 )
sublime.error_message("Gist: GitHub API does not support a value of higher than 100")
class MissingCredentialsException(Exception):

0 comments on commit 6d1976a

Please sign in to comment.
Something went wrong with that request. Please try again.