Skip to content
Browse files

Fix paths

  • Loading branch information...
1 parent e454071 commit 8f3e6c3ba1b42561c08f5b3664626f5b2022d010 @trentrichardson committed Sep 2, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 Clientside.py
View
12 Clientside.py
@@ -95,9 +95,9 @@ def get_css_lint(self, codestr):
else:
opts = ',' + opts
- csslint_path = os.path.join(self.plugin_dir, "csslint/csslint")
- tmpfile_path = os.path.join(self.plugin_dir, "csslint/tmp_csslint.js")
- tmpcode_path = os.path.join(self.plugin_dir, "csslint/tmp_csslint_code.js")
+ csslint_path = os.path.join(self.plugin_dir, "csslint", "csslint")
+ tmpfile_path = os.path.join(self.plugin_dir, "csslint", "tmp_csslint.js")
+ tmpcode_path = os.path.join(self.plugin_dir, "csslint", "tmp_csslint_code.js")
tmpfile = open(tmpfile_path,"w")
tmpfile.writelines("var sys = require('sys');")
@@ -167,9 +167,9 @@ def get_js_formatted(self, codestr):
def get_js_lint(self, codestr):
opts = json.dumps(self.settings.get('jslint', {}))
- jslint_path = os.path.join(self.plugin_dir, "jslint/jslint")
- tmpfile_path = os.path.join(self.plugin_dir, "jslint/tmp_jslint.js")
- tmpcode_path = os.path.join(self.plugin_dir, "jslint/tmp_jslint_code.js")
+ jslint_path = os.path.join(self.plugin_dir, "jslint", "jslint")
+ tmpfile_path = os.path.join(self.plugin_dir, "jslint", "tmp_jslint.js")
+ tmpcode_path = os.path.join(self.plugin_dir, "jslint", "tmp_jslint_code.js")
tmpfile = open(tmpfile_path,"w")
tmpfile.writelines("var sys = require('sys');")

3 comments on commit 8f3e6c3

@bafxyz
bafxyz commented on 8f3e6c3 Sep 6, 2012

This doesn't help with jslint and csslint in windows7 x64

@trentrichardson
@bafxyz
bafxyz commented on 8f3e6c3 Sep 7, 2012

Thx, now it works

Please sign in to comment.
Something went wrong with that request. Please try again.