replaced RESOURCES_DIR in get_resource method

This commit is contained in:
iLLiCiTiT 2020-11-18 20:34:23 +01:00
parent c3b9f2558d
commit 2b56a409cb

View file

@ -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):