mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 04:44:15 +02:00
Init
This commit is contained in:
6
core/resource.py
Executable file
6
core/resource.py
Executable file
@@ -0,0 +1,6 @@
|
||||
import os
|
||||
|
||||
|
||||
def get_path(resource_path):
|
||||
cur_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
return cur_dir + '/resources/' + resource_path
|
||||
Reference in New Issue
Block a user