Move logo to app/assets and update loader
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 222 KiB |
+1
-1
@@ -356,7 +356,7 @@ class UIBuilderMixin:
|
|||||||
try:
|
try:
|
||||||
from PIL import Image, ImageTk # type: ignore
|
from PIL import Image, ImageTk # type: ignore
|
||||||
|
|
||||||
logo_path = Path(__file__).resolve().parents[1] / "logo.png"
|
logo_path = Path(__file__).resolve().parent / "assets" / "logo.png"
|
||||||
if logo_path.exists():
|
if logo_path.exists():
|
||||||
image = Image.open(logo_path).convert("RGBA")
|
image = Image.open(logo_path).convert("RGBA")
|
||||||
image.thumbnail((26, 26))
|
image.thumbnail((26, 26))
|
||||||
|
|||||||
Reference in New Issue
Block a user