def desktop_data(): check_internet() retdeskdata = get_new_data() if retdeskdata: messagebox.showinfo("pratham", "data post completed!") else: messagebox.showinfo("pratham", "some problem occurred!")
def push_data(): check_internet() retcallkolibri = call_kolbri() if retcallkolibri: messagebox.showinfo("pratham", "data post completed!") else: messagebox.showinfo("pratham", "some problem occurred!")
def update_apks(): check_internet() retupdateapk = update_smart_apk() if retupdateapk: messagebox.showinfo("pratham", "Apks has been updated") else: messagebox.showinfo("pratham", "please check internet connection")
def desktop_data(): check_internet() retdeskdata = get_new_data() try: if retdeskdata: messagebox.showinfo("pratham", "data post completed!") except Exception as e: messagebox.showinfo("pratham", e)
def look_internet(): check_internet() controller.show_frame(ProgramState)