remove unecessary print statement and remove commented code

This commit is contained in:
Huy Pham 2020-02-12 08:39:10 -08:00
parent 80f47a5d4c
commit b4bf3ee391
2 changed files with 0 additions and 12 deletions

View file

@ -436,7 +436,6 @@ class CoreClient:
master = self.app
if parent_frame:
master = parent_frame
print("stop session error")
self.app.after(0, show_grpc_error, e, master, self.app)
def set_up(self):

View file

@ -262,13 +262,6 @@ class Toolbar(ttk.Frame):
self.set_runtime()
self.app.core.set_metadata()
self.app.core.show_mobility_players()
# else:
# message = "\n".join(response.exceptions)
# print("start error")
# print(response)
# dialog = ErrorDialog(self.app, self.app, "Start ERROR", message)
# dialog.show()
# messagebox.showerror("Start Error", message)
def set_runtime(self):
self.runtime_frame.tkraise()
@ -435,10 +428,6 @@ class Toolbar(ttk.Frame):
message = f"Stopped in {total:.3f} seconds"
self.app.statusbar.set_status(message)
self.app.canvas.stopped_session()
# if not response.result:
# dialog = ErrorDialog(self.app, self.app, "Stop ERROR", "Error stopping session")
# dialog.show()
# # messagebox.showerror("Stop Error", "Errors stopping session")
def update_annotation(self, image: "ImageTk.PhotoImage", shape_type: ShapeType):
logging.debug("clicked annotation: ")