Files
bearhub/fpakman/core/resource.py
2019-06-18 17:01:13 -03:00

8 lines
163 B
Python
Executable File

import os
app_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
def get_path(resource_path):
return app_dir + '/resources/' + resource_path