mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-18 08:43:37 +00:00
9 lines
182 B
Python
9 lines
182 B
Python
|
from pkg_resources import resource_filename
|
||
|
|
||
|
DATA_ROOT = resource_filename('langcodes', 'data')
|
||
|
import os
|
||
|
|
||
|
|
||
|
def data_filename(filename):
|
||
|
return os.path.join(DATA_ROOT, filename)
|