Fix check for Windows relative path.
@@ -34,7 +34,7 @@ def get_file_path(state, filename):
relative_to = state.cwd
- if state.current_exec_filename and (filename.startswith('./') or filename.startswith('\\.')):
+ if state.current_exec_filename and (filename.startswith('./') or filename.startswith('.\\')):
relative_to = path.dirname(state.current_exec_filename)
return path.join(relative_to, filename)
