Searched refs:root_directory (Results 1 – 1 of 1) sorted by relevance
160 self.root_directory = path.abspath(path.dirname(__file__))224 def serve_file(self, root_directory, file_relative_to_root): argument225 resolved_path = path.abspath(path.join(root_directory, file_relative_to_root))228 print(root_directory)231 [resolved_path, root_directory]232 ) == root_directory and path.isfile(resolved_path):