If closure compiler returns an error, use the original filedata instead of an incorrect JS file.

This commit is contained in:
Jeremy Carbaugh
2011-07-20 16:41:11 -04:00
parent 1b4dfa434f
commit 93baadda6c
+3
View File
@@ -23,4 +23,7 @@ def compile(filedata, content_type, remote_path, is_active):
data = response.read()
conn.close
if data.startswith('Error'):
data = filedata
return data