mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-15 17:35:04 +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)
|