From 4d6122754d86dcccb29389098de0a65b0b9c5645 Mon Sep 17 00:00:00 2001 From: tpkelley Date: Sun, 22 Sep 2013 23:12:56 -0500 Subject: [PATCH] Removed get_content_charset() due to errors in ST2. Doesn't look like it was used anyway. --- coldfusion-plugin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/coldfusion-plugin.py b/coldfusion-plugin.py index 79735d5..9786682 100644 --- a/coldfusion-plugin.py +++ b/coldfusion-plugin.py @@ -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):