Skip to content

Commit

Permalink
Fixed linux api call
Browse files Browse the repository at this point in the history
  • Loading branch information
condemil committed Feb 6, 2013
1 parent 28389a3 commit 2fc5188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fc5188

Please sign in to comment.