def _init_report(self):
        self.sections = []
        self.section_names = []
        try:
            if os.path.isdir(self.directory) is False:
                if self.verbose:
                    print("Created directory {}".format(self.directory))
                os.mkdir(self.directory)
            for this in self._to_create:
                try:
                    os.mkdir(self.directory + os.sep + this)
                except:
                    pass
        except Exception:
            pass
        finally:
            temp_path = easydev.get_package_location("reports")
            temp_path += os.sep + "reports" + os.sep + "resources"
            filenames = glob.glob(os.sep.join([temp_path, "css", "*.css"]))
            filenames += glob.glob(os.sep.join([self.searchpath, '*.css']))
            filenames += self.extra_css_list
            for filename in filenames:
                target = os.sep.join([self.directory, 'css' ])
                if os.path.isfile(target) is False:
                    shutil.copy(filename, target)
            for filename in ['sorttable.js', 'highlight.pack.js', "jquery-1.12.3.min.js"]:
                target = os.sep.join([self.directory, 'js', filename ])
                if os.path.isfile(target) is False:
                    filename = os.sep.join([temp_path, "javascript", filename])
                    shutil.copy(filename, target)
            for filename in self.extra_js_list:
                basename = os.path.basename(filename)
                target = os.sep.join([self.directory, 'js', basename ])
                if os.path.isfile(target) is False:
                    shutil.copy(filename, target)