Diff of /pyke/krb_compiler/kqb_parser.py [e56162] .. [495079] Maximize Restore

  Switch to side-by-side view

--- a/pyke/krb_compiler/kqb_parser.py
+++ b/pyke/krb_compiler/kqb_parser.py
@@ -533,8 +533,7 @@
             if self.column >= len(self.line): self.readline()
 
 def parse_kqb(filename):
-    dirs, base = os.path.split(filename)
-    name = base[:-4]
+    name = os.path.basename(filename)[:-4]
     with open(filename, 'rU') as f:
         base = question_base.question_base(name)
         parser = kqb_parser(f)