mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
replaced RESOURCES_DIR in get_resource method
This commit is contained in:
parent
c3b9f2558d
commit
2b56a409cb
1 changed files with 1 additions and 6 deletions
|
|
@ -11,12 +11,7 @@ def get_resource(*args):
|
|||
resource from resources folder
|
||||
:type *args: list
|
||||
"""
|
||||
return os.path.normpath(
|
||||
os.path.join(
|
||||
os.path.dirname(os.path.abspath(__file__)),
|
||||
*args
|
||||
)
|
||||
)
|
||||
return os.path.normpath(os.path.join(RESOURCES_DIR, *args))
|
||||
|
||||
|
||||
def get_liberation_font_path(bold=False, italic=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue