Update ui.py

This commit is contained in:
Saurabh 2023-07-23 16:15:31 +05:30 committed by GitHub
parent 312208a411
commit ffb6a8f233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,8 +140,9 @@ def create_preview(parent: ctk.CTkToplevel) -> ctk.CTkToplevel:
def update_status(text: str) -> None:
status_label.configure(text=text)
ROOT.update()
if status_label is not None:
status_label.configure(text=text)
ROOT.update()
def select_source_path(source_path: Optional[str] = None) -> None: