Permalink
Browse files

Fix for windows

  • Loading branch information...
1 parent ccf059c commit ce50291e61f7849a7328819fee5cd07ca4409dac @pashkoff pashkoff committed Dec 7, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/query2html.py
@@ -1,3 +1,4 @@
+import os
import sys
import urlparse
@@ -20,6 +21,9 @@
query = f.readline()
f.close()
+query = os.path.abspath(query).replace(r"cygdrive/d", r"D:")
+
+
f = open(query_out, 'rU')
ql = f.read().splitlines()
f.close()

0 comments on commit ce50291

Please sign in to comment.