def nextfoo(self): if self.menuvar.get() == "None": messagebox.showerror("ERROR", "Name cannot be 'None'") return self.controller.active_name = self.menuvar.get() main_app(self.controller.active_name) self.controller.show_frame("PageFour")
def openwebcam(self): score = main_app(self.controller.active_name) if (score == False): messagebox.showerror("ERROR", "No such users") self.controller.show_frame("StartPage") else: messagebox.showerror("succeed", "succeed") self.controller.show_frame("PageFive")
def openwebcam(self): main_app(self.controller.active_name)
def openwebcam(self): main_app(self.controller.active_name) time.sleep(10) messagebox.showinfo("Welcome back " + active_name + "!")