class WittyReindexProjectCommand(sublime_plugin.ApplicationCommand): def run(self): # This actually gets the wrong window, so it doesn't do anything yet open_folder_arr = sublime.windows()[0].folders() #if self._parser_thread != None: # self._parser_thread.stop() self._parser_thread = WittyParser(self, False, open_folder_arr, 30) self._parser_thread.start()
def run(self): # This actually gets the wrong window, so it doesn't do anything yet open_folder_arr = sublime.windows()[0].folders() #if self._parser_thread != None: # self._parser_thread.stop() self._parser_thread = WittyParser(self, False, open_folder_arr, 30) self._parser_thread.start()