Skip to content

Commit

Permalink
Removed get_content_charset() due to errors in ST2. Doesn't look like…
Browse files Browse the repository at this point in the history
… it was used anyway.
  • Loading branch information
tkelley committed Sep 23, 2013
1 parent fca7f71 commit 4d61227
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion coldfusion-plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ def on_select_udf(self, index):

def fetch_json(self,url):
req = urlopen(url)
enc = req.headers.get_content_charset()
return json.loads(req.read().decode('UTF-8'))

class InsertUdfCommand(sublime_plugin.TextCommand):
Expand Down

0 comments on commit 4d61227

Please sign in to comment.