mgbam commited on
Commit
9b49791
·
verified ·
1 Parent(s): f194991

Create assets/__init__.py

Browse files
Files changed (1) hide show
  1. assets/__init__.py +10 -0
assets/__init__.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ def get_logo_path() -> str:
4
+ """Returns the absolute path to the logo.png file."""
5
+ # Assumes logo.png is in the same directory as this __init__.py
6
+ current_dir = os.path.dirname(os.path.abspath(__file__))
7
+ logo_path = os.path.join(current_dir, "logo.png")
8
+ if os.path.exists(logo_path):
9
+ return logo_path
10
+ return "" # Return empty if not found