File size: 380 Bytes
9b49791
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import os

def get_logo_path() -> str:
    """Returns the absolute path to the logo.png file."""
    # Assumes logo.png is in the same directory as this __init__.py
    current_dir = os.path.dirname(os.path.abspath(__file__))
    logo_path = os.path.join(current_dir, "logo.png")
    if os.path.exists(logo_path):
        return logo_path
    return "" # Return empty if not found