MCPcopy Create free account
hub / github.com/RainingComputers/whipFTP / create_dir_thread

Method create_dir_thread

whipFTP.py:759–769  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

757 self.create_dir_dialog = Filedialogs.name_dialog(self.master, 'Create a new folder', self.create_dir_thread, self.newfolder_icon)
758
759 def create_dir_thread(self):
760 #Create thread
761 self.thread = threading.Thread(target = self.create_dir, args = (self.ftpController, self.create_dir_dialog.rename_entry.get()))
762 #Destroy rename window
763 self.create_dir_dialog.destroy()
764 #Show message box
765 self.start_wait()
766 #Start thread and process requests
767 self.thread.daemon = True
768 self.thread.start()
769 self.process_thread_requests()
770
771 def create_dir(self, ftpController, dir_name):
772 try:

Callers

nothing calls this directly

Calls 3

start_waitMethod · 0.95
destroyMethod · 0.45

Tested by

no test coverage detected