mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
11 lines
212 B
Python
Executable File
11 lines
212 B
Python
Executable File
import os
|
|
|
|
|
|
def get_path(resource_path):
|
|
app_dir = get_app_dir()
|
|
return app_dir + '/resources/' + resource_path
|
|
|
|
|
|
def get_app_dir():
|
|
return os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|