Permalink
Browse files

Fixed linux api call

  • Loading branch information...
1 parent 28389a3 commit 2fc51889c6045fd559fc85b1241c91fdb2670f14 @condemil committed Feb 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gist.py
View
@@ -415,7 +415,7 @@ def api_request_curl(url, data=None, method=None):
else:
raise SimpleHTTPError(responsecode, response)
-api_request = api_request_native
+api_request = api_request_curl if ('ssl' not in sys.modules and os.name != 'nt') else api_request_native
class GistCommand(sublime_plugin.TextCommand):
public = True

0 comments on commit 2fc5188

Please sign in to comment.