def resource(): """ :rtype: studioqt.Resource """ global _resource if not _resource: _resource = studioqt.Resource(dirname=RESOURCE_DIRNAME) return _resource
def resource(): """ Return a resource object for getting content from the resource folder. :rtype: studioqt.Resource """ global _resource if not _resource: _resource = studioqt.Resource(dirname=RESOURCE_PATH) return _resource