mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
16 lines
352 B
Python
16 lines
352 B
Python
import os
|
|
|
|
|
|
def get_resource(*args):
|
|
""" Serves to simple resources access
|
|
|
|
:param *args: should contain *subfolder* names and *filename* of
|
|
resource from resources folder
|
|
:type *args: list
|
|
"""
|
|
return os.path.normpath(
|
|
os.path.join(
|
|
os.path.dirname(__file__),
|
|
*args
|
|
)
|
|
)
|